Subject: Re: CVS commit: src
To: Tom Spindler <dogcow@NetBSD.org>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 12/17/2007 07:55:07
Tom Spindler <dogcow@NetBSD.org> writes:
> [a metric ton of files]
>
>> Log Message:
>> convert __attribute__s to applicable cdefs.h macros
>
> So, uh, what was the justification for this rototill?

The reason is to allow non-GCC compilers to handle most of the source
tree. Christos asked me to work on it.

> I don't recall any discussion about it on current-users or elsewhere
> about doing this.

It was discussed on tech-misc.

> More importantly, this breaks cross-compilation on non-NetBSD hosts -
> to wit:

That is a problem. However, we need to figure out how to allow cross
compilation while also allowing arbitrary c99 compilers to handle the
tree. It is not reasonable to litter the source tree with __attribute__
given that it is not C99.

Perry