public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/4139: problem using -V
@ 2001-08-27 8:16 thor
0 siblings, 0 replies; only message in thread
From: thor @ 2001-08-27 8:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 4139
>Category: c
>Synopsis: gcc -V 2.95.x fails on comments and preprocessor directives
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Aug 27 08:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.0.1
>Organization:
>Environment:
System: Linux nubis 2.4.9 #1 Tue Aug 21 19:58:29 CEST 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 --enable-shared
+--with-gnu-as --with-gnu-ld --enable-threads --enable-cpp
>Description:
gcc and g++ output parse erros for every /* or // found in the source.
Preprocessor directives will result in 'undefined or invalid #
+directive'
>How-To-Repeat:
/* comment */
int main(){}
gcc -V 2.95.3 -o test test.c
test.c:1: parse error before `/'
------------------
#include <stdio.h>
int main(){}
gcc -V 2.95.3 -o test test.c
test.c:1: undefined or invalid # directive
gcc -V 2.95.3 -E -o test.i test.c
gcc -V 2.95.3 -o test test.i
cc1: Invalid option `-fpreprocessed'
>Fix:
--
nubis
thor@sh-home.de
Mommy, what does "Formatting Drive C:" mean?
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-27 8:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-27 8:16 c/4139: problem using -V thor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).