Warning while compiling dbus 0.34

Ikke eikke at eikke.com
Tue Jul 12 04:31:03 EST 2005

On Mon, 2005-07-11 at 14:20 -0400, Colin Walters wrote:
> On Mon, 2005-07-11 at 11:40 -0400, John (J5) Palmieri wrote:
> > That is just the Pyrex python module generator being stupid.  I brought
> > up these issues with the upstream maintainers and their response was,
> > "it would complicate the code too much to fix the issues".  The lvalue
> > warnings however have been fixed (they used to be errors or at least
> > error out on fedora's gcc).  You can grab the patch from the fedora RPM
> > of Pyrex if you want.  It should be showing up when they do the next
> > release of Pyrex upstream hopefully.   
> As a temporary workaround it might be nice at some point if we changed
> CFLAGS in configure.in to be the core CFLAGS (e.g. -DDBUS_COMPILATION)
> and another WARN_CFLAGS or something.  Then for the Python bindings we
Just a thought: wouldnt it be better to do it the other way around? Like
that you dont have to add WARN_CFLAGS to every non-python Makefile.am,
only need to change the python ones:
In configure.in:
PYTHON_CFLAGS="-all -flags -used -by -both -python -and -common -cflags"
CFLAGS="-Wall -Werror -pedantic -ansi ${PYTHON_CFLAGS}"

Then in all Python Makefile.am's:

I did not test this, just guessing it should give the same result with
less work.



More information about the dbus mailing list