
3 Feb
2004
3 Feb
'04
9:28 p.m.
Victor A. Wagner, Jr. <vawjr@rudbek.com> wrote:
I note that another test from a colleague (boost threads) won't compile if /Za is turned on.
I think that's because boost threads are using Windows API. Unfortunatelly <windows.h> (and other Platform SDK headers) cannot be compiled without language extensions. Besides obvious stuff, like __dllimport , there are other problems like anonymous structures etc. So, currently you simply cannot use /Za switch with some libraries :( However, I'd recommend using /Zc:wchar_t and /Zc:forScope switches instead of /Za everywhere - that will not cause troubles, if used consistently. B.