[answered] About dependencies and _SECURE_SCL
Posted: Fri Sep 17, 2010 01:32
Okay, I wanted to compile my project in VC9 with _SECURE_SCL=0, but I found out that it doesn't create compatible code (iterators have different size etc). Thus, all libraries used in a program should use the same setting. And I can do this for everything else except the precompiled dependencies for CEGUI.
I have three questions:
1) Which setting was used when compiling the dependencies? I suppose _SECURE_SCL was turned on?
2) Is it safe to use FULLY_CHECKED_DEBUG_ITERATORS=false (which sets _SECURE_SCL=0) in combination with the precompiled deps? The pedantic answer to this question is "no", but I might be willing to overlook it if there's a compelling argument that they are reasonably compatible.
3) I know you're not going to provide the source for the dependencies, Eddie, so I won't request that. But I'd like to know if it's even possible to get them myself. I mean, does CEGUi use the dependency libraries as is, or have have they been customized somehow?
edit: I see now that FULLY_CHECKED_DEBUG_ITERATORS only affects debug build, which is a bit weird. I would think most people who want to disable _SECURE_SCL want to do it in release build and leave it on in debug. Anyway, it doesn't really change my questions, but I'm pretty sure now that my only chance is to compile the dependencies myself. Oh well...
I have three questions:
1) Which setting was used when compiling the dependencies? I suppose _SECURE_SCL was turned on?
2) Is it safe to use FULLY_CHECKED_DEBUG_ITERATORS=false (which sets _SECURE_SCL=0) in combination with the precompiled deps? The pedantic answer to this question is "no", but I might be willing to overlook it if there's a compelling argument that they are reasonably compatible.
3) I know you're not going to provide the source for the dependencies, Eddie, so I won't request that. But I'd like to know if it's even possible to get them myself. I mean, does CEGUi use the dependency libraries as is, or have have they been customized somehow?
edit: I see now that FULLY_CHECKED_DEBUG_ITERATORS only affects debug build, which is a bit weird. I would think most people who want to disable _SECURE_SCL want to do it in release build and leave it on in debug. Anyway, it doesn't really change my questions, but I'm pretty sure now that my only chance is to compile the dependencies myself. Oh well...