[osg-submissions] Small fix for daeWGeometry.cpp when _SECURE_SCL is used

roger@beardandsandals.co.uk roger.james at virtualoutlooks.co.uk
Wed Nov 21 13:24:33 PST 2007


Robert,

 

>From Microsoft Visual Studio 8 onwards the Microsoft standard template
library by default defines _SECURE_SCL == 1. This means that the MS Checked
Iterators feature is used. Which in turn means that if any standard template
library iterator is given an invalid value the program will assert and throw
an exception. The dae plugin contains a small number of such cases in
daeWGeometry.cpp. I have attached a fixed version.

 

Roger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071121/e58cd9bf/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: daeWGeometry.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071121/e58cd9bf/attachment.pot 


More information about the osg-submissions mailing list