This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Bug for GCC of Cygwin distribution
- To: <cygwin at cygwin dot com>
- Subject: Bug for GCC of Cygwin distribution
- From: "angelo" <angelo at netrd dot iii dot org dot tw>
- Date: Wed, 23 May 2001 16:12:05 +0800
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