Bug 36850 - D-Bus configure adds `-Wno-address` which does not work with XCode GCC on OS X 10.5.x
Summary: D-Bus configure adds `-Wno-address` which does not work with XCode GCC on OS ...
Status: RESOLVED DUPLICATE of bug 19681
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.4.x
Hardware: All Mac OS X (All)
: medium major
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
Depends on:
Reported: 2011-05-04 10:31 UTC by Charlie Sharpsteen
Modified: 2011-05-09 10:12 UTC (History)
0 users

See Also:
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.