Boost logo

Boost :

From: Jason Shirk (jasonsh_at_[hidden])
Date: 2001-03-09 03:54:34


I have reproduced this bug, it appears to be an issue only with the
Processor Pack, VC6 SP4 works fine.

I'm almost positive this is a code generation problem. It's not much of a
workaround, but disabling inlining makes the problem go away (-Ob0).

Another workaround may be possible with #pragma optimize or #pragma
auto_inline, but I couldn't come up with one quickly. These pragma's don't
work well with templates, so a workaround of this sort may not be possible.

Jason Shirk
VC++ Compiler Team

-----Original Message-----
From: David Abrahams [mailto:abrahams_at_[hidden]]
Sent: Thursday, March 08, 2001 8:23 PM
To: boost_at_[hidden]
Subject: Re: [boost] VC6 strikes again

I don't get the INTERNAL COMPILER ERROR. Just the following. I appear to
have the same compiler:

cd c:/boost/libs/regex/demo/jgrep/
nmake -fvc6.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

 cl -GX -GR /Oityb1 /GF /Gy -I..\..\..\..\ jgrep.cpp main.cpp /link
/LIBPATH:..\..\lib\vc6 user32.lib
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

jgrep.cpp
jgrep.cpp(32) : warning C4068: unknown pragma
main.cpp
main.cpp(33) : warning C4068: unknown pragma
Generating Code...
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:jgrep.exe
/LIBPATH:..\..\lib\vc6
user32.lib
jgrep.obj
main.obj
LINK : fatal error LNK1104: cannot open file "vc6-re300.lib"
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: "boost" <boost_at_[hidden]>
Sent: Thursday, March 08, 2001 8:02 AM
Subject: [boost] VC6 strikes again

> Hi all,
>
> I've a report that the regex library doesn't build with VC6sp4 when the
> latest processor pack is applied (see below). Can anyone reproduce this?
> Does anyone have any ideas? And are there other boost libraries effected
by
> this "patch" (I suspect that there will be)?
>
> Right now I'm flummuxed by this, and can't see any way to fix the errors,
>
> Thanks in advance
>
> - John Maddock
> http://ourworld.compuserve.com/homepages/john_maddock/
>
> here are the compiler logs:
>
> C:\Program Files\Microsoft Visual Studio\VC98\Bin>VCVARS32.BAT
> Setting environment for using Microsoft Visual C++ tools.
> C:\Program Files\Microsoft Visual Studio\VC98\Bin>f:
>
> F:\Temp\regex new\regexpp3\libs\regex\demo\jgrep>nmake -fvc6.mak
>
> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> cl -GX -GR /Oityb1 /GF /Gy -I..\..\..\..\ jgrep.cpp main.cpp
> /link /LIBP
> ATH:..\..\lib\vc6 user32.lib
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
> 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> jgrep.cpp
> jgrep.cpp(32) : warning C4068: unknown pragma
> main.cpp
> main.cpp(33) : warning C4068: unknown pragma
> Generating Code...
> ..\..\..\..\boost/re_detail/regex_compile.hpp(144) : fatal error C1001:
> INTERNAL
> COMPILER ERROR
> (compiler file 'E:\8944\vc98\p2\src\P2\main.c', line
> 181)
> Please choose the Technical Support command on the Visual C++
> Help menu, or open the Technical Support help file for more information
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> F:\Temp\regex new\regexpp3\libs\regex\demo\jgrep>cd ..
>
> F:\Temp\regex new\regexpp3\libs\regex\demo>cd ..
>
> F:\Temp\regex new\regexpp3\libs\regex>cd lib
>
> F:\Temp\regex new\regexpp3\libs\regex\lib>nmake -fvc6.mak
>
> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> if not exist "vc6\" mkdir vc6
> if not exist "vc6\vc6-re300\" mkdir vc6\vc6-re300
> cl /c /nologo /ML /W3 /GX /Oityb1 /GF /Gy /I..\..\..\ /DWIN32
> /DNDEBUG /
> D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
> -Fo./vc6/vc6-re300/ -Fdvc6
> /vc6-re300.pdb ../src/c_regex_traits.cpp
> c_regex_traits.cpp
> cl /c /nologo /ML /W3 /GX /Oityb1 /GF /Gy /I..\..\..\ /DWIN32
> /DNDEBUG /
> D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
> -Fo./vc6/vc6-re300/ -Fdvc6
> /vc6-re300.pdb ../src/c_regex_traits_common.cpp
> c_regex_traits_common.cpp
> cl /c /nologo /ML /W3 /GX /Oityb1 /GF /Gy /I..\..\..\ /DWIN32
> /DNDEBUG /
> D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
> -Fo./vc6/vc6-re300/ -Fdvc6
> /vc6-re300.pdb ../src/cpp_regex_traits.cpp
> cpp_regex_traits.cpp
> cl /c /nologo /ML /W3 /GX /Oityb1 /GF /Gy /I..\..\..\ /DWIN32
> /DNDEBUG /
> D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
> -Fo./vc6/vc6-re300/ -Fdvc6
> /vc6-re300.pdb ../src/cregex.cpp
> cregex.cpp
> C:\PROGRA~1\MICROS~3\VC98\INCLUDE\xtree(174) : fatal error C1001:
> INTERNAL COMPI
> LER ERROR
> (compiler file 'E:\8944\vc98\p2\src\P2\main.c', line
> 181)
> Please choose the Technical Support command on the Visual C++
> Help menu, or open the Technical Support help file for more information
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


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