projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a5165
)
Suppressed warning on gcc caused by the 'visibility' attribute being ignored on types.
author
Jared Mulconry
<jaredmulconry@gmail.com>
Mon, 25 Sep 2017 10:22:06 +0000
(20:22 +1000)
committer
Jared Mulconry
<jaredmulconry@gmail.com>
Mon, 25 Sep 2017 10:22:06 +0000
(20:22 +1000)
include/assimp/scene.h
patch
|
blob
|
history
diff --git
a/include/assimp/scene.h
b/include/assimp/scene.h
index
4d02745
..
342c316
100644
(file)
--- a/
include/assimp/scene.h
+++ b/
include/assimp/scene.h
@@
-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
// -------------------------------------------------------------------------------
/**