Subject: Re: lib/36511: lcc is an ANSI C compiler for a variety of platforms
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 06/27/2007 20:20:02
The following reply was made to PR lib/36511; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: Aleksey Cheusov <cheusov@tut.by>
Cc: gnats-bugs@NetBSD.org
Subject: Re: lib/36511: lcc is an ANSI C compiler for a variety of platforms
Date: Wed, 27 Jun 2007 22:19:27 +0200
On Wed, Jun 27, 2007 at 08:18:40PM +0300, Aleksey Cheusov wrote:
> I'm not sure that *non-standard* __asm directive can be allowed if
> __STDC__ is defined. Can you explain this?
I'm not sure what code you quote - it is not in NetBSD AFAICS.
> P.S.
> It's not clear for me what things should be fixed?
> LCC itself or NetBSD includes or both?
I think both.
How about we protect the whole __RENAME(x) block in NetBSD's cdefs.h by
#ifndef __RENAME / #endif
and modify lcc to provide a working __RENAME(x) macro? We don't need to special
case __LCC__ then and can use the same for other compilers.
Martin