[Gluster-devel] Warnings during compilation of GlusterFS

Lalatendu Mohanty lmohanty at redhat.com
Sun Jan 12 12:27:47 UTC 2014


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)
>     ^
> In file included from /usr/include/errno.h:28:0,
>                  from logging.c:16:
> /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE 
> requires compiling with optimization (-O) [-Wcpp]
>  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
>     ^
> In file included from /usr/include/stdio.h:27:0,
>                  from xlator.h:19,
>                  from xlator.c:16:
> /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE 
> requires compiling with optimization (-O) [-Wcpp]
>  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
>     ^
> In file included from /usr/include/stdint.h:25:0,
>                  from 
> /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stdint.h:9,
>                  from hashfn.c:11:
> /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE 
> requires compiling with optimization (-O) [-Wcpp]

I forgot to mention that, I am seeing this on latest master branch of 
GlusterFS.

-Lala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140112/c6c40bc6/attachment-0001.html>


More information about the Gluster-devel mailing list