This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
preprocessor/4075: gcc-3.0.1 - -V... not working
- To: gcc-gnats at gcc dot gnu dot org
- Subject: preprocessor/4075: gcc-3.0.1 - -V... not working
- From: juergen at monocerus dot demon dot co dot uk
- Date: Wed, 22 Aug 2001 00:35:49 +0100 (BST)
>Number: 4075
>Category: preprocessor
>Synopsis: Specifying a different version does not work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 21 16:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Juergen Heinzl
>Release: 3.0.1
>Organization:
>Environment:
System: Linux monocerus.demon.co.uk 2.2.19 #1 Mon Mar 26 21:18:17 BST 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0.1/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-threads --enable-languages=c,c++ --disable-nls
>Description:
Invoking gcc with the -V option results in an error message
"file.c:(n): undefined or invalid # directive" where (n) is
the line number of some include directive.
>How-To-Repeat:
echo '#include <stdio.h>' > foo.c
gcc -V2.95.3 foo.c
... or worse ...
gcc -V2.7.2.3 foo.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: