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

pull/1457/head
Jared Mulconry 2017-09-25 20:22:06 +10:00
parent 79a5165106
commit 7e91ac3443
1 changed files with 8 additions and 0 deletions

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
// -------------------------------------------------------------------------------
/**