[Gluster-devel] Warnings during compilation of GlusterFS

Kaleb S. KEITHLEY kkeithle at redhat.com
Mon Jan 13 12:24:13 UTC 2014


On 01/12/2014 07:27 AM, Lalatendu Mohanty wrote:
> On 01/12/2014 05:52 PM, Lalatendu Mohanty wrote:
>> Hi All,
>>
>> I am getting lots of below warnings while compiling GlusterFS in
>> Fedora19. I don't remember seeing this warning couple of weeks back.
>> Any suggestion how to fix this or turn this off? I have attached the
>> make output with this email.
>>
>> Steps to reproduce the issue:
>>
>>   * /autogen.sh
>>   * ./configure --enable-debug or "./configure"
>>   * make
>>
>> Warnings:
>>
>> /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE
>> requires compiling with optimization (-O) [-Wcpp]
>>  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
>>     ^

Don't use --enable-debug and those warnings will go away.

Of course if you want --enable-debug then you have to live with those 
warnings.

-- 

Kaleb




More information about the Gluster-devel mailing list