Re: Safe subset of C?
From: Joona I Palaste (palaste_at_cc.helsinki.fi)
Date: 16 Dec 2003 20:59:22 GMT
Alex <email@example.com> scribbled the following:
> Christian Bau <firstname.lastname@example.org> wrote:
>> In article <email@example.com>,
>> Kelsey Bjarnason <firstname.lastname@example.org> wrote:
>>> Having warnings enabled doesn't cripple C; it just lets you know when
>>> you've done something that probably isn't actually C at all. :)
>> If it isn't C at all you would get an error. If you get a warning, it's
>> most likely perfectly legal C that in some non-obvious way does
>> something entirely different from what you intended.
> AFAIK "diagnostics" need only be output from the compiler,
> not specifically as "errors" or "warnings".
So does this:
"ISO says I have to issue a diagnostic here. So to keep them happy I'll
qualify as a mandatory diagnostic for a case for which the ISO C
standard mandates one?
-- /-- Joona Palaste (email@example.com) ------------- Finland --------\ \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/ "To err is human. To really louse things up takes a computer." - Anon