This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Named warnings


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

| On 24 Jan 2003, Gabriel Dos Reis wrote:
| 
| > I disagree.  *Some* warnings are language-independent -- thery are
| > usually triggered by middle- or back-end.  Others are highly
| > language-dependent.   Trying to make a number means different warnings
| > depending on the selected language is very confusing.
| 
| But, whatever scheme is used, some effort should be made to use the same 
| code for warnings in the C and C++ front ends that are in some sense the 
| same warning (possibly differently worded).

Surely, just like the current -Wxxx scheme works.  However having
12367 means "don't  derive from this class" in C++ whereas it means
"don't accept COMMON" in FORTRAN is really confusing.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]