
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Peter Dimov
deal with __stdcall. Actually I'm pretty sure that wihout --a como can compile program than includes Windows headers, I tried it more than once. Or maybe I misunderstood something and some different experiment would be relevant (but not the one shown below)?
No, you are right, como does compile interlocked.hpp without --a/--A. I was mistaken. However:
Note that Comeau can link together object files that were compiled in strict and non-strict modes. So it is possible to make non-__stdcall jumpers in another translation unit that call the __stdcall (etc.) Windows API functions. Non-strict mode is *considerably* less strict. It isn't just strict mode + calling convention keywords. Using non-strict mode effectively defeats the purpose of using Comeau in most cases. Regards, Paul Mensonides