public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/9391: when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out
@ 2003-01-21 18:16 stefaandr
  0 siblings, 0 replies; only message in thread
From: stefaandr @ 2003-01-21 18:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9391
>Category:       other
>Synopsis:       when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 21 18:15:59 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     stefaandr@hotmail.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
> t.h
echo 'int main() {};' > t2.cpp
g++ -o test t.h t2.cpp

if you put a code-error in the .cpp file, put in a large quantity of code, of simply use "-v", you can see it compiles the .cpp files you give on the command-line.
I didn't think gcc would stop after a 5 minute long compilation, because of an error it gave even before starting compilation :)
>How-To-Repeat:
> t.h
echo 'int main() {};' > t2.cpp
g++ -o test t.h t2.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-21 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-21 18:16 other/9391: when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out stefaandr

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).