Date: Tue, 19 Jan 2010 19:23:19 -0500 From: David Schultz <das@FreeBSD.ORG> To: Ed Schouten <ed@80386.nl> Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Andriy Gapon <avg@FreeBSD.ORG> Subject: Re: svn commit: r202628 - in head: . sys/amd64/amd64 sys/i386/i386 sys/i386/xen sys/sys Message-ID: <20100120002319.GA31669@zim.MIT.EDU> In-Reply-To: <20100119170400.GY64905@hoeg.nl> References: <201001191531.o0JFVI6n029716@svn.freebsd.org> <4B55DE3E.6050504@freebsd.org> <20100119163709.GW64905@hoeg.nl> <4B55E577.10105@freebsd.org> <20100119170400.GY64905@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
__gnu89_inline was the only way to write a program with non-static inline functions that would compile and link both with older versions of gcc, and with newer versions of gcc in C99 mode. This is because gcc in 8.x (as well as Clang and gcc 4.3+ from ports) use C99 inline semantics in the c99 and gnu99 modes, whereas gcc in 7.x and earlier use the incompatible GNU semantics regardless of what mode you asked for. A small number of ports might use it, but more likely they just use --std=gnu89 or --std=gnu99 depending on which standard they were written to. I'm not sure whether __gnu89_inline ought to be removed from cdefs.h just yet, but if nobody uses it or cares about it, then I'm happy to burn this bridge.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100120002319.GA31669>