
I understand that it won't work for SOME things. I think boost are complaining TOO much about it though. We do us wchar_t and forScope already, I was working under the assumption (probably erroneous) that /Za would help me w/ portability issues. At Tuesday 2004-02-03 14:28, you wrote:
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.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"