lcc-win32 conformance question
- From: teapot <tea@xxxxxxxxxxx>
- Date: Sat, 26 Apr 2008 01:17:50 +0200 (CEST)
If I compile this program
int main(void)
{
return 0; // foo bar baz
}
with
"lc -A -ansi89 foo.c"
(minus the quotes), no diagnostic is produced; but isn't this style of
comment illegal in C89 and thus this piece of code should be invalid?
How standards conformant is (unnamed compiler)?
.
- Follow-Ups:
- Re: lcc-win32 conformance question
- From: Hans Schneider
- Re: lcc-win32 conformance question
- From: Lew Pitcher
- Re: lcc-win32 conformance question
- From: Serve Laurijssen
- Re: lcc-win32 conformance question
- From: Ben Bacarisse
- Re: lcc-win32 conformance question
- From: Bartc
- Re: lcc-win32 conformance question
- From: Ian Collins
- Re: lcc-win32 conformance question
- Prev by Date: Re: Garbage collection
- Next by Date: Re: lcc-win32 conformance question
- Previous by thread: renew() an array?
- Next by thread: Re: lcc-win32 conformance question
- Index(es):
Relevant Pages
|
Loading