Available for test: gcc-3.1.1-2 gcc2-2.95.3-8

Charles Wilson cwilson@ece.gatech.edu
Fri Jul 12 12:16:00 GMT 2002



Conrad Scott wrote:

> There's a problem compiling the cygwin_daemon branch with the gcc
> 3.1.1 compiler as Nicholas discovered today.  In particular, gcc
> can't find the <new> header file, which I need for the placement
> new operator.  This used to be in /usr/lib/gcc-lib/.../include/
> but is now in /usr/include/c++/3.1.1/.  Can I add this include
> path to the makefile now?  I can't see that it'll break anything
> with gcc 2.X (as this include directory didn't exist previously).
> 
> [Nb. In case something has changed here, note that I'm using other
> than the latest release of the gcc 3.1.1 compiler:
>     gcc                 3.1.1-1
>     gcc-mingw           3_1-20020516-1 ]


No, not a good idea.  gcc-3.1.1-2 fixed this behavior, I think.  Plus, 
there's a gcc-3.1.1-3 coming out soon, so just chill, for now.  A g++ 
compiler that doesn't automatically include the directory where its own 
stdc++ library header files are stored is a broken g++ compiler and 
needs to be fixed in g++ itself -- not band-aiding every C++ program on 
earth.

--Chuck




More information about the Cygwin-developers mailing list