It appears that the VS8 binary package for osg2.2.0 has a problem in
one of the 3rd party header files included. (jmorecfg.h)

Compiling against it causes an error regarding redefinition of INT32.

Im not sure if there are any repercussions, but there is a simple fix
seen in an old patch on the secondlife wiki which protects the define
with a check against WIN32

https://wiki.secondlife.com/wiki/Patch_jpeglib
in jmorecfg.h:

#ifndef XMD_H
typedef long INT32;
#endif

is changed to:

#if !defined( XMD_H ) && !defined( WIN32 )
typedef long INT32;
#endif


It also does an #undef on FAR just before it blanks it to remove a
warning about redifinition.

Im not sure how hard it would be to repackage the current 2.2 VS8
binary package, but at least it can be fixed for for future Visual
Studio packages.

    Regards,
    Andy
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to