postgresql/src/template
Andres Freund 5a33650f24 Attempt to work around a 32bit xlc compiler bug from a different place.
In de6fd1c8 I moved the the work around from 53f73879 into the aix
template. The previous location was removed in the former commit, and I
thought that it would be nice to emit a warning when running configure.

That didn't turn out to work because at the point the template is
included we don't know whether we're compiling a 32/64 bit binary and
it's possible to install compilers for both on a 64 bit kernel/OS.

So go back to a less ambitious approach and define
PG_FORCE_DISABLE_INLINE in port/aix.h, without emitting a warning. We
could try a more fancy approach, but it doesn't seem worth it.

This requires moving the check for PG_FORCE_DISABLE_INLINE in c.h to
after including the system headers included from therein which isn't
perfect, as it seems slightly more robust to include all system headers
in a similar environment. Oh well.

Discussion: 20150807132000.GC13310@awork2.anarazel.de
2015-08-08 01:19:02 +02:00
..
aix Attempt to work around a 32bit xlc compiler bug from a different place. 2015-08-08 01:19:02 +02:00
cygwin Have configuration templates augment, not replace, LDFLAGS. 2014-06-11 19:50:57 -04:00
darwin Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
freebsd Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
hpux Remove duplicate specification of -Ae for HP-UX C compiler. 2015-01-13 22:52:11 -05:00
linux Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
netbsd Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
openbsd Remove -pipe from compiles. 2003-10-09 22:55:46 +00:00
sco Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
solaris Move forgotten comment closer to where it matters. 2008-10-29 16:23:07 +00:00
unixware With the native compiler on Unixware, disable optimization if 2007-07-16 17:38:48 +00:00
win32 Have configuration templates augment, not replace, LDFLAGS. 2014-06-11 19:50:57 -04:00