Bug 36850

Summary: D-Bus configure adds `-Wno-address` which does not work with XCode GCC on OS X 10.5.x
Product: dbus Reporter: Charlie Sharpsteen <source>
Component: coreAssignee: Havoc Pennington <hp>
Status: RESOLVED DUPLICATE QA Contact: John (J5) Palmieri <johnp>
Severity: major    
Priority: medium    
Version: 1.4.x   
Hardware: All   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Charlie Sharpsteen 2011-05-04 10:31:44 UTC
For Mac OS X 10.5.x, the newest Apple compilers available are GCC 4.0.1 in XCode 3.1.4 . This version of GCC does not support the `-Wno-address` flag which causes `make` to halt.  If I patch out lines 19476-19479 in the D-Bus 1.4.8 configure script, everything compiles fine.

I'm not that handy with Autoconf, so I apologize for not having a patch to submit---but perhaps there could be a `--disable-debug` flag or something similar that reduces the number of warning flags that get passed to the compiler?
Comment 1 Simon McVittie 2011-05-09 10:12:19 UTC
The right fix would be to only enable this warning if your gcc supports it, like in Bug #19681.

*** This bug has been marked as a duplicate of bug 19681 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.