Re: Serious conformance BUG in lcc-win32 still present
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Tue, 17 Feb 2009 23:28:30 +0000
Tea Pot said:
Almost a year ago a BUG was pointed out in this group that the
lcc-win32 compiler of so-called "C" will "accept" C++-style
comments even when it's run with the -ansi89 switch to ALLEGEDLY
make it C90 conforming.
Who has alleged this? The vendor?
No diagnostic is produced.
This BUG is still present.
If the maintainer of lcc-win32 is serious about making a
standards-conforming compiler, he should address this BUG as a
matter of urgency.
It has already been pointed out that this question more properly
belongs in comp.compilers.lcc, so I won't do that. Instead, I'll
offer the following observation:
IF one avoids pathological code such as has been presented elsewhere
in this thread, and IF all other required diagnostic messages are
correctly produced, I don't see this as being such a big deal. It
*is* a big deal in gcc, because switching on // comments in gcc's
C90 mode involves switching *off* various other checks that I don't
want to lose. This is why I avoid using // comments in my own C
code, and it is also why I don't appreciate their presence in code
that is presented here for debugging help. Nevertheless, a
*compiler* that accepts them, without that acceptance compromising
its diagnostic efficiency in other areas, could still be useful
despite not being C90-conforming.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- References:
- Serious conformance BUG in lcc-win32 still present
- From: Tea Pot
- Serious conformance BUG in lcc-win32 still present
- Prev by Date: Re: C question
- Next by Date: Re: Serious conformance BUG in lcc-win32 still present
- Previous by thread: Re: Serious conformance BUG in lcc-win32 still present
- Next by thread: Re: Serious conformance BUG in lcc-win32 still present
- Index(es):
Relevant Pages
|