[LLVMdev] _FORTIFY_SOURCE warnings

Hassan, Ahmad ahmad.hassan at sap.com
Mon Jan 7 11:52:14 PST 2013

Hi All,

I have modified the Makefile inside llvm/tools/clang and added the following flag:


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?


Cheers, Ahmad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130107/06bd7398/attachment.html>

More information about the llvm-dev mailing list