Bug for GCC of Cygwin distribution

Christopher Faylor cgf@redhat.com
Thu May 24 11:41:00 GMT 2001


On Wed, May 23, 2001 at 04:12:05PM +0800, angelo wrote:
>
>I found a bug for GCC's (both 2.95.3-3 and 2.95.3-4) handling of the
>enviroment variable CPLUS_INCLUDE_PATH in Cygwin (both version 1.3.1  and
>version 1.3.2). Here's a simple test script which shows the bug.
>
>#! /bin/sh
>cat > vector << EOF
>yes_yes
>EOF
>
>cat > test.cpp << EOF
>#include <vector>
>EOF
>
>export CPLUS_INCLUDE_PATH=.
>if (gcc -E test.cpp | grep yes_yes); then
> echo CPLUS_INCLUDE_PATH works correctly
>else
>    echo CPLUS_INCLUDE_PATH does not work correctly
>fi
>#end of shell script
>
>There's no such bug when I use Cygwin DLL 1.4.1 along with GCC 2.95.2.2.

If you can figure out what's causing this in gcc, I'll add your patch to
the next release.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list