I get lots of those warnings:
OSGBaseTypes.h(334): warning C4076: 'unsigned' : can not be used with type 'bool'
OSGBaseTypes.h(334): warning C4091: 'typedef ' : ignored on left of 'unsigned int' when no variable is declared
This is caused by the typedef unsigned bool inside OSGBaseTypes.h.
Everything works as expected, but those warnings are a bit annoying. Is there any reason why OSG_BOOL_IS_UNSIGNED gets defined for WIN32?
I'm using Visual Studio 2010 building a x64 C++ project.
I get lots of those warnings:
This is caused by the
typedef unsigned boolinside OSGBaseTypes.h.Everything works as expected, but those warnings are a bit annoying. Is there any reason why
OSG_BOOL_IS_UNSIGNEDgets defined forWIN32?I'm using Visual Studio 2010 building a x64 C++ project.