Suppressed warning on gcc caused by the 'visibility' attribute being ignored on types.
authorJared Mulconry <jaredmulconry@gmail.com>
Mon, 25 Sep 2017 10:22:06 +0000 (20:22 +1000)
committerJared Mulconry <jaredmulconry@gmail.com>
Mon, 25 Sep 2017 10:22:06 +0000 (20:22 +1000)
include/assimp/scene.h

index 4d02745..342c316 100644 (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
 
 // -------------------------------------------------------------------------------
 /**