This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug for GCC of Cygwin distribution



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.

Huang-Ming Huang
angelo@iii.org.tw


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]