[osg-users] [osgPlugins] Json plugin not compiling on windows using MINGW

Sergey Cherepanov sergey0311 at gmail.com
Sun Aug 23 12:16:00 PDT 2015


Hi,

File: JSON_Objects
Problem:  error: conflicting declaration 'typedef long unsigned int uint32_t'
         typedef unsigned __int32 uint32_t;

An example of solving the problem:

<     #if defined(__MINGW32__) || (!defined(_MSC_VER) || _MSC_VER<1600)
---
>     #if (defined(__MINGW32__) && __GNUC__<=4 && __GNUC_MINOR__<8 ) || (!defined(__MINGW32__)&&(!defined(_MSC_VER) || _MSC_VER<1600))


Thank you!

Cheers,
Sergey

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64872#64872








More information about the osg-users mailing list