Date: 2003-06-14 13:06:02
In article <126.96.36.199.2.20030525174826.022b9f38_at_[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
C1_UPPER | C1_LOWER | C1_DIGIT | C1_PUNCT | C1_ALPHA
Although I realize that simply providing their values
may be insufficient.
-- Greg Comeau/ 188.8.131.52: FULL CORE LANGUAGE, INCLUDING TC1 Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout 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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk