From owner-freebsd-hackers Fri Aug 7 00:11:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11772 for freebsd-hackers-outgoing; Fri, 7 Aug 1998 00:11:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11754 for ; Fri, 7 Aug 1998 00:11:47 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id AAA08450; Fri, 7 Aug 1998 00:11:29 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpd008435; Fri Aug 7 00:11:27 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id AAA21912; Fri, 7 Aug 1998 00:11:23 -0700 (MST) From: Terry Lambert Message-Id: <199808070711.AAA21912@usr08.primenet.com> Subject: Re: C and static initialization with unions To: mike@smith.net.au (Mike Smith) Date: Fri, 7 Aug 1998 07:11:22 +0000 (GMT) Cc: tlambert@primenet.com, Nicolas.Souchu@prism.uvsq.fr, mike@smith.net.au, chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199808070138.SAA01445@dingo.cdrom.com> from "Mike Smith" at Aug 6, 98 06:38:37 pm 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). > > Actually, we largely do separate into compilation units. See all those > files ending in '.s' and '.S'? Ah! So FreeBSD will compile with TenDRA? Sorry about the mistake, then... > > 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. > > Seeing as nobody actually seems to want this, it's obviously not of > much interest. I want it; I'm usually shouted down. At the very least, an internally consistent policy would be nice... 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