Date: Fri, 07 Aug 1998 21:49:34 +0200 From: Stefan Eggers <seggers@semyam.dinoco.de> To: Terry Lambert <tlambert@primenet.com> Cc: seggers@semyam.dinoco.de, freebsd-hackers@FreeBSD.ORG Subject: Re: C and static initialization with unions Message-ID: <199808071949.VAA15427@semyam.dinoco.de> In-Reply-To: Your message of "Fri, 07 Aug 1998 01:33:05 -0000." <199808070133.SAA24688@usr06.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Is it allowed in FreeBSD? Is all FreeBSD C source code portable? > > Good question; I don't know the answer. We have at least a little bit of unportable code in swap_pager.c where arrays of runtime computed size (array size depends on one of the parameters of the function) get used. Works great with gcc but not with an unsuspecting ANSI C compiler. What's the official opinion on using gcc extensions? Should this have been avoided or is it OK to use them in the kernel? Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808071949.VAA15427>