Suppressed warning on gcc caused by the 'visibility' attribute being ignored on types.

This commit is contained in:
Jared Mulconry
2017-09-25 20:22:06 +10:00
parent 79a5165106
commit 7e91ac3443
+8
View File
@@ -60,6 +60,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
extern "C" {
#endif
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wattributes"
#endif
// -------------------------------------------------------------------------------
/**
* A node in the imported hierarchy.
@@ -163,6 +168,9 @@ struct ASSIMP_API aiNode
#endif // __cplusplus
};
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
// -------------------------------------------------------------------------------
/**