other/9391: when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out
stefaandr@hotmail.com
stefaandr@hotmail.com
Tue Jan 21 18:53:00 GMT 2003
>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:
More information about the Gcc-bugs
mailing list