Boost logo

Boost-Build :

From: gclbb-jamboost_at_[hidden]
Date: 2003-06-14 13:06:02

In article <[hidden]>,
Beman Dawes <jamboost_at_[hidden]> wrote:
>The Comeau compiler under Windows has an option (--a) which we need to
>compile most Boost tests correctly. It both increases compliance and adds
>certain warning messages.
>OTOH, --a cannot be used to compiler certain Windows SDK headers such as
>winnt.h. There are a few Boost files which use these problem headers.
>What is the best way to setup the como-win32 toolset to default to --a, but
>allow --a to be turned off for certain compiles?

I just posted a longer and more general post on this.

To use some of your specifics above, in case my post was
too unclear or wandering, for instance, some of my unclarity
is that I will assume that since Comeau is being invoked in
a stricter mode with --a that all the compilers are being
invoked similarly. But I know for instance that even VC++
will choke on windows.h if it is compiled with /Za. So,
I'm confused. As well....

>PS: I've been back and forth with Greg Comeau about --a, and he may someday
>get it to accept Windows headers with warnings rather than errors, but that
>isn't going to happen right away.

... although this is true, I'm wondering about this at a more
fundamental level, since I'm unclear on whether the demands across
the tools are the same.

Also, even if windows.h is removed from the build,
it appears some ctype.h'ish macros or enums (I haven't gotten to
check yet) are involved in some code, using ids such as
Although I realize that simply providing their values
may be insufficient.

Comeau C/C++ ONLINE ==>
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at