Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2003 19:20:33 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Marcin Dalecki <mdcki@gmx.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: C conformance
Message-ID:  <3E471A81.CB3B1743@mindspring.com>
References:  <3E46A224.9010403@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcin Dalecki wrote:
> The following ain't pretty as well:
> 
> "/usr/include/machine/signal.h", line 130: Error:
>    [Syntax]: Parse error before '__aligned'.
>    [Syntax]: Can't recover from this error.

You need to add a compiler specific section to /sys/sys/cdefs.h,
which defined cdefs attributes specific to your compiler.

Probably, this should consist of moving the "lint" definitions
to the bottom of the list, and instead of them being "#ifdef lint",
making them "#ifndef __aligned" or something similar, to provide
a default case for tools other than GCC.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E471A81.CB3B1743>