delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/23/04:12:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <006301c0e360$0eec32e0$603d5c8c@angelo>
From: "angelo" <angelo AT netrd DOT iii DOT org DOT tw>
To: <cygwin AT cygwin DOT com>
Subject: Bug for GCC of Cygwin distribution
Date: Wed, 23 May 2001 16:12:05 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000

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 AT iii DOT org DOT tw


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019