Compiler Warnings

D

Dave Thompson

On Sun, 14 Dec 2003 18:14:21 GMT, "Mike Wahler"
The content and meanings of compiler warning (and error) messages
are unique to each compiler.
Yes.


I suggest you read more closely :). I'm sure the gcc manual
has these descriptions.
No, the GCC documentation does not contain descriptions of the
diagnostic messages as such. Some diagnostics are controlled by flags
(-W*) because they are (though) less likely to really be problems, and
the descriptions of these flags do explain to some extent the meaning
of the related diagnostics, but not their exact wording.

I don't recall anyone who made a practice of actually releasing
documentation of "error" or diagnostic or similar messages but IBM
(already mentioned) and DEC.
Also, if you have some code that's producing a warning you don't
understand, you can post it here and others will probably be able
to spot the trouble. But only post enough code to demonstrate the
problem.
Yes, except the usual advice is to post the smallest "possible" (or at
least the smallest you can find) *complete* program. Posting just
excerpts of code often omits information that turns out to be vital.

- David.Thompson1 at worldnet.att.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top