GCC Error messages
Luke Liu
LLiu@manh.com
Thu Sep 2 20:17:00 GMT 2004
Hi,
I run gcc compiler with the following messages,
gcc -Wall -g -c junk.cpp -o junk
junk.cpp:3:19: MyInc.h: No such file or directory
junk.cpp:6: warning: ISO C++ forbids declaration of `main' with no type
junk.cpp: In function `int main()':
junk.cpp:7: `print' undeclared (first use this function)
junk.cpp:7: (Each undeclared identifier is reported only once for each
function it appears in.)
The gcc reports warning messages with keyword "warning", but does not report
error messages with keyword "Error". Is there any way for gcc to do this for
error messages?
Any helps?
Thanks!
Luke Liu
Sr. Analyst | N-Tier Core Services & Performance
Manhattan Associates, Inc.
Office: 678-597-6923
<http://www.manh.com>
More information about the Gcc
mailing list