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]

Re: Warning Messages (was: Is this a gcc bug?)


An alternative solution for warnings where the only valid hint is one
paragraph long (or more ;-), is to put a really short one, even if
mysterious, plus "see GCC documentation for more information" or "GCC
documentation has more information", and have sections "Common
Warnings for Language X" in the compiler manual detailing the
issues. Such a solution would solve cleanly the education issue, and
the "meta-education" issue: there's a manual dude! ;-).

I often found that people ask themselves questions the first time they
see a warning, then the messages is just an id and it's better when
it's short in listings.

-- 
Laurent Guerby <guerby@acm.org>

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