Red Hat Bugzilla – Bug 875913
glusterfs build with gcc's '-pedantic' flag fails
Last modified: 2013-12-18 19:09:02 EST
Created attachment 643689 [details]
warnings seen on glusterfs
Description of problem:
make CFLAGS="-std=gnu99 -pedantic"
Version-Release number of selected component (if applicable):
mainline (git head is
Steps to Reproduce:
1. build as mentioned above.
Build should succeed
look for 'forbids' in the attachment, and try to fix it.
CHANGE: http://review.gluster.org/4187 (core: remove all the 'inner' functions in codebase) merged in master by Anand Avati (firstname.lastname@example.org)
CHANGE: http://review.gluster.org/4219 (core: fixes for gcc's '-pedantic' flag build) merged in master by Anand Avati (email@example.com)
CHANGE: http://review.gluster.org/4186 ("gcc -pedantic": made 'inline' functions as 'static inline' functions) merged in master by Anand Avati (firstname.lastname@example.org)
now with latest master, "-std=gnu99 -pedantic" option runs to completion (ofcourse there are warnings, but no errors.