Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-05-08 06:56:33


At 06:50 AM 5/8/2002, Peter Dimov wrote:

>From: "John Maddock" <john_maddock_at_[hidden]>
>>
>> This is getting horribly complicated - the config system is detecting
>that
>> the platform is win32, and therefore setting (and testing) the win32
>> specific features - that results in <windows.h> being included and it's
>that
>> that commeau is choking on in strict mode. I guess we need to disable
>win32
>> platform detection for commeau in strict mode, but I don't know how to
do
>> that: any ideas?
>
>Why don't we simply enable --long_long?

That just produces a different set of errors. See below.

You do get a pat on the back for actually reading the docs, however:-)

--Beman

C:\boost\regr>como --long_long -e5 -tnone --wchar_t --A --43
-D_WCHAR_T_DEFINED -o boosttmp -Ic:/boost/site
c:/boost/site/libs/config/test/config_test.cpp
c:\apps\comeau\libcomo\libcomo.lib
Comeau C/C++ 4.3 BETA#1 (Mar 9 2002 00:03:11) for MS_WINDOWS_x86
Copyright 1988-2002 Comeau Computing. All rights reserved.
MODE:strict errors C++

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 357: error: nonstandard
unnamed
           member
       };
        ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 376: error: nonstandard
unnamed
           member
       };
        ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1514: warning: unrecognized
           #pragma
   #pragma warning(disable:4164) // disable C4164 warning so that apps
that
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1517: warning: unrecognized
           #pragma
   #pragma function(_enable)
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1518: warning: unrecognized
           #pragma
   #pragma function(_disable)
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1521: warning: unrecognized
           #pragma
   #pragma warning(default:4164) // reenable C4164 warning
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1528: warning: unrecognized
           #pragma
   #pragma warning (disable:4035) // disable 4035 (function must
return so
mething)
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1529: error: identifier
           "_inline" is undefined
   _inline PVOID GetFiberData( void ) { __asm {
   ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1529: error: "PVOID" has
           already been declared in the current scope
   _inline PVOID GetFiberData( void ) { __asm {
           ^

"c:\\apps\\comeau\\include\\vc\\winnt.h", line 1529: error: expected a ";"
   _inline PVOID GetFiberData( void ) { __asm {
                 ^

Error limit reached.
5 errors detected in the compilation of
"c:/boost/site/libs/config/test/config_t
est.cpp".
Compilation terminated.


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