Hello Andrew,

> 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.

[...]

> in jmorecfg.h:
>
> #ifndef XMD_H
> typedef long INT32;
> #endif
>
> is changed to:
>
> #if !defined( XMD_H ) && !defined( WIN32 )
> typedef long INT32;
> #endif

I just checked, and on my systems, the first block of code is in  
jmorecfg.h (*no* include guard for WIN32), yet I never got the  
redefinition warning. I'm using both Windows XP and Vista, with both  
VC++ 2005 and 2008. Are you sure this isn't caused by some other  
headers you're including in your app? That is to say, one definition  
is in jmorecfg.h, where is the other one?

If you can post the entire warning (with file names and line numbers)  
it would be easier to see what's going on. Just to check that this  
isn't a red herring.


To reply to Philip Taylor about the 64-bit issues, this is a 3rd party  
header, so OSG has little control over it. On the other hand, it comes  
from libjpeg, which is very popular and is used on almost all linux  
distros (most of which are  built both 32 and 64 bit these days), so I  
imagine if there were any 64-bit-cleanliness issues, they would have  
heard about them by now. That is not to discount your point, which  
could very well be correct, but it's "out of OSG's hands" anyways.


J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to