[LLVMdev] _FORTIFY_SOURCE warnings
Hassan, Ahmad
ahmad.hassan at sap.com
Tue Jan 8 06:14:25 PST 2013
Just to keep others in loop. This issue has been fixed by following additions in Makefile:
CPP.Flags += -U_FORTIFY_SOURCE
CPP.Flags += -D_FORTIFY_SOURCE=0
Thanks,
Ahmad
From: ahmad.hassan at sap.com
Sent: 07 January 2013 19:52
To: llvmdev at cs.uiuc.edu
Subject: _FORTIFY_SOURCE warnings
Hi All,
I have modified the Makefile inside llvm/tools/clang and added the following flag:
CPP.Flags += -D_FORTIFY_SOURCE=0
But when I build clang using 'make' then I get lot of warnings like:
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
Is this expected behaviour?
Thanks
Cheers, Ahmad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130108/fcda92e3/attachment.html>
More information about the llvm-dev
mailing list