This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/9391: when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out
- From: stefaandr at hotmail dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 21 Jan 2003 18:08:20 -0000
- Subject: other/9391: when trying to compile header files, gcc emits an error, then compiles everything, and only then bails out
- Reply-to: stefaandr at hotmail dot com
>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: