Hello Gerrit,

>>> 1. Build problem with the OpenSG 2.0 revision 2564...
>>> I got unresolved external symbols on OSGBase:
>>
>> hmm, interesting I just tried the Debug variant (2566) and don't see
>> this problem (VS2008). Which compiler version are you using ?
>>
> I use msvc 2008 9.0.30729.1 i.e. Sp1
> However, I will try 2566 and try to figure it out and give feedback...

I think that I have found the problem. I did not correctly update 
OSGConfig.h after checkout. The problem I have is that OpenSG does provide 
the flag OSG_DISABLE_MICROSOFT_SECURE_CXXX which is OFF by default. If 
defined, this flag handles the following set of defines

_CRT_SECURE_NO_DEPRECATE
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_DEPRECATE
_SECURE_SCL=0
_SCL_SECURE_NO_WARNINGS
_SCL_SECURE_NO_DEPRECATE
_HAS_ITERATOR_DEBUGGING=0

Unfortunately, our code base has always defined
_HAS_ITERATOR_DEBUGGING=1
and mixing to different policies is problematic.

This combination is currently not supported by OpenSG and until now, I did 
simply remove the corresponding section from OSGConfig.h on checkout. Not 
quite correct, I did copy the OSGConfig.h from the last checkout which I had 
already modified. So now, I introduced an inconsistency. Sorry for that.

After I have explained this all, may I ask for orthogonalization of the 
first six flags and the last one? It should be simple by introducing a new 
flag OSG_ENABLE_MICROSOFT_HAS_ITERATOR_DEBUGGING. Only OSGConfig.h and 
UpdateCompiler.cmake would be affected.

What do you think?

Best,
Johannes




------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to