Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



Tom Spindler <dogcow%NetBSD.org@localhost> 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



Home | Main Index | Thread Index | Old Index