
4 Apr
2008
4 Apr
'08
12:33 p.m.
error_code.cpp contains the following #defines:
#define _CRT_SECURE_NO_DEPRECATE #define _SCL_SECURE_NO_DEPRECATE
It should first check that these macros are not defined already. Otherwise users who #define these macros on the command line will received duplicate definition errors, as I am. Also, you might consider adding:
#define _SECURE_SCL 0
for VC 9.
I'ld rather have it somewhere in Boost.Config. Every library has to deal with these, so why not silence the warnings once and for all. Regards Hartmut