
Juergen Hunold
This will definetely not work. You are missing some quotes.
Hi Juergen, I didn't think this was a problem but I rebuilt boost with quotes around the defines. It made no difference. I also added the option "-d+2" to my commandline - and could see that with or without the quotes, the defines are being passed down correctly, as seen below. Thanks Raman file bin.v2\libs\date_time\build\msvc-9.0\release\ link-static\threading-multi\date_generators.obj.rsp "libs\date_time\src\gregorian\date_generators.cpp" -Fo"bin.v2\libs\date_time\build\msvc-9.0\release \link-static\threading-multi\date_generators.obj" -TP /O2 /Ob2 /W3 /GR /MD /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c -DBOOST_ALL_NO_LIB=1 -DBOOST_DATE_TIME_STATIC_LINK -DDATE_TIME_INLINE -DNDEBUG -D_CRT_SECURE_NO_WARNINGS=0 -D_HAS_ITERATOR_DEBUGGING=0 -D_SCL_SECURE_NO_WARNINGS=0 -D_SECURE_SCL=0 "-I."