Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgresql.org, Peter Eisentraut <peter_e@gmx.net>
Cc: Peter Geoghegan <peter@2ndquadrant.com>
Date: 2012-10-05T03:22:25Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Tue, 2012-10-02 at 17:05 +0100, Peter Geoghegan wrote:
>> /usr/include/features.h:314:4: warning: #warning _FORTIFY_SOURCE
>> requires compiling with optimization (-O) [-Wcpp]

> Which glibc version is this?  (Run /lib/libc.so)

I've seen this warning in recent Fedora builds, though not on my F16
production box.  Some googling suggests the locution

#if __OPTIMIZE__
#define _FORTIFY_SOURCE 2
#endif

but I've not tested that.

			regards, tom lane


Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Disable _FORTIFY_SOURCE with ICC