Bug 875913
| Summary: | glusterfs build with gcc's '-pedantic' flag fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Amar Tumballi <amarts> | ||||
| Component: | build | Assignee: | Avra Sengupta <asengupt> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | mainline | CC: | gluster-bugs, vraman | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-07-24 17:55:45 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 (avati) CHANGE: http://review.gluster.org/4219 (core: fixes for gcc's '-pedantic' flag build) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4186 ("gcc -pedantic": made 'inline' functions as 'static inline' functions) merged in master by Anand Avati (avati) now with latest master, "-std=gnu99 -pedantic" option runs to completion (ofcourse there are warnings, but no errors. |
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 commit 128514fcb7f4943e6c97139f873db68a009ae893) How reproducible: 100% Steps to Reproduce: 1. build as mentioned above. Expected results: Build should succeed