This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Explanation of compiler warnings and errors
- From: Yusuf Pisan <ypisan at ics dot mq dot edu dot au>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 04 Jun 2002 15:57:05 +1000
- Subject: Explanation of compiler warnings and errors
[ I have not received any responses to the item below. If there is
a more appropriate mailing list, please let me know. If you feel
that this is a worthwhile project, or a useless project, please let
me know as well, any response is better than no response :-) --
Yusuf ]
For experienced users, one line compiler warnings and error
messages is sufficient. Unfortunately, students learning C/C++
have a difficult time to deciphering such messages.
Are there any detailed help pages that explain the gcc/g++ error
messages, provide sample code which would cause the error message?
Such a resource would be very useful to beginners and might even
benefit more experienced users. Visual C++ has such a resource as a
part of the MSDN Library, but that has its own set of quirks.
Any help on finding such a resource or ideas on how to construct it
would be much appreciated.
Cheers,
Yusuf
Ps: It is possible to use VC++ or simplified version of C/C++ with
a more tailored compiler for beginning students, but I believe the
effort in maintaining such a toolkit and the need to eventually
move to gcc/g++ is more trouble than building additional support to
gcc/g++.
--
,--_|\ Yusuf Pisan
/ \ ypisan@ics.mq.edu.au http://www.ics.mq.edu.au/~ypisan/
\_,--._* Department of Computing
v Macquarie University, Sydney Australia 2109