Hi,
I was wondering if there was any chance of making a visual studio 2008 build available, with secure scl disabled?
This is a Microsoft specific setting which adds some error checking to the STL containers and iterators (if I understand it correctly), which has the result of changing the size of the STL classes used.
Mixing dlls or objects compiled with a mixture of this setting can cause chaos and generally random behaviour
We are trying to link against both FileGDBAPI.DLL and another DLL that has scl disabled and are observing crashes in different locations (eg ~wstring). Same code works fine on linux and works when we comment stuff out and just link against FileGDBAPI.DLL
Thanks,
Simon
(We're also trying to see if we can get a scl enabled version of the other dll)
This secure scl setting is enabled by default in vs2008, so disabling would involve adding:
_SECURE_SCL=0
to the: C/C++ / Preprocessor definitions section in the visual studio project configuration