Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2005-04-23 17:31:16


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk