From owner-freebsd-current Sun Feb 9 19:23:27 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A083537B401 for ; Sun, 9 Feb 2003 19:23:26 -0800 (PST) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCFFB43FE9 for ; Sun, 9 Feb 2003 19:22:05 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0195.cvx21-bradley.dialup.earthlink.net ([209.179.192.195] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18i4WC-0004pK-00; Sun, 09 Feb 2003 19:22:04 -0800 Message-ID: <3E471A81.CB3B1743@mindspring.com> Date: Sun, 09 Feb 2003 19:20:33 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Marcin Dalecki Cc: freebsd-current@freebsd.org Subject: Re: C conformance References: <3E46A224.9010403@gmx.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4dbf1f0f1457ed2c3c75d5dacff5d884f667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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