Date: Wed, 02 Jan 2013 22:07:23 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: FreeBSD-questions <freebsd-questions@freebsd.org> Subject: defines in system headers Message-ID: <50E41BF3.3080803@ShaneWare.Biz>
next in thread | raw e-mail | index | archive | help
I ran into a problem with /usr/include/xlocale/_ctype.h in 9.1 Line 56 is - #if __GNUC__ && !__GNUC_STDC_INLINE__ but within a tinderbox on a 9.0 system (yes I know that setup isn't actually supported) using gcc as the compiler __GNUC_STDC_INLINE__ isn't defined and generates a "!" has no right operand error. Isn't the correct way to test that #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E41BF3.3080803>
