[C++-sig] compilation problems with mingw v2.0

David Abrahams dave at boost-consulting.com
Thu Sep 12 16:45:21 CEST 2002


Gideon,

I just reproduced the problem you cite. As far as I can tell, this is
simply a bug in this version of GCC, since previous versions of MinGW (and
numerous other compilers) have no problems with that code. If you will
report the problem to the appropriate GCC/MinGW developers, I'll be happy
to attempt a workaround on this end. A good bug report would at least
include a preprocessed copy of the offending source file, but even better
would be a minimal reproducible case.

Regards,
Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com


----- Original Message -----
From: "gideon may" <gideon at computer.org>
To: "pysig" <c++-sig at python.org>
Sent: Thursday, September 12, 2002 6:47 AM
Subject: [C++-sig] compilation problems with mingw v2.0


> Hi,
>
> Has anyone succeeded in compiling bpl v1 or v2 with the
> current mingw compiler (v2.0) under windows ? This
> version is based on gcc 3.2. The rest of the boost libraries
> compile cleanly.
>
> When I try to compile bpl v2 I get the following message :
>
> ...found 585 targets...
> ...updating 24 targets...
> mingw-C++-action
> ..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj
> In file included from src/list.cpp:6:
> C:/cvs_rep/boost/boost/python/list.hpp:17: declaration does not declare
>    anything
> C:/cvs_rep/boost/boost/python/list.hpp:17: parse error before `)' token
> src/list.cpp:19: parse error before `)' token
> src/list.cpp:23: parse error before `)' token
>
>     c:\SDKs\MinGW\bin\g++  -c -Wall -ftemplate-depth-100
> -DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_V2 -DBOOST_PYTHON_SOURCE  -g
>  -O0 -fno-inline   -I"..\..\libs\python"  -isystem "C:\cvs_rep\boost"
> -isystem "c:\Python22\include" -isystem "c:\SDKs\MinGW\inc
> lude"  -o
> "..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj"
> "src\list.cpp"
>
> ...failed mingw-C++-action
>
..\..\libs\python\bin\bpl.dll\mingw\debug\runtime-link-dynamic\list.obj...
>
> My environment :
>
> Win2K
> Python 2.2.1 (ActiveState)
> Latest CVS update of Boost
>
> COMSPEC=C:\WINNT\system32\cmd.exe
> MINGW_ROOT_DIRECTORY=c:\SDKs\MinGW
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> PYTHON_ROOT=c:\Python22
> PYTHON_VERSION=2.2
> SYSTEMROOT=C:\WINNT
> TMP=/cygdrive/c/DOCUME~1/gideon/LOCALS~1/Temp
> WINDIR=C:\WINNT
>
> bjam command : bjam -sTOOLS=mingw
>
> ciao,
>
> gideon
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>





More information about the Cplusplus-sig mailing list