From owner-freebsd-hackers Thu Aug 6 18:33:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA24344 for freebsd-hackers-outgoing; Thu, 6 Aug 1998 18:33:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA24333 for ; Thu, 6 Aug 1998 18:33:37 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id SAA01207; Thu, 6 Aug 1998 18:33:20 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp01.primenet.com, id smtpd001123; Thu Aug 6 18:33:09 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id SAA24688; Thu, 6 Aug 1998 18:33:05 -0700 (MST) From: Terry Lambert Message-Id: <199808070133.SAA24688@usr06.primenet.com> Subject: Re: C and static initialization with unions To: Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu) Date: Fri, 7 Aug 1998 01:33:05 +0000 (GMT) Cc: mike@smith.net.au, tlambert@primenet.com, chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG In-Reply-To: <19980806113159.49110@breizh.prism.uvsq.fr> from "Nicolas Souchu" at Aug 6, 98 11:31:59 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is it allowed in FreeBSD? Is all FreeBSD C source code portable? Good question; I don't know the answer. I know that FreeBSD uses inline assembly, rather than seperating out the assembly code into machine-specific compilation units (preferrably with vanilla C equivalents, where possible). I also know that FreeBSD uses ANSI constructs, which make the code non-portable to older compilers, such as those you would have on machines running older OS's that you want to upgrade to running FreeBSD via a port. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message