Re: [pygtk] GCC with -ansi option

2002-02-03 Thread James Henstridge

Arjan J. Molenaar wrote:

Hi,

I'm having some trouble compiling PyGTK from CVS. I get errors like
these:

   /gnome/head/INSTALL/include/glib-2.0/glib/gmessages.h:108:
   warning: invalid character in macro parameter name

The remedy seems to be removing the '-ansi' flag from the CFLAGS
attribute. AKAIK the '...' in macro definitions is a GCC specific
feature, therefore setting '-ansi' will error on those statements.
Note that I did not configure GLib with the --enable-ansi option.

I noticed this flag is explicitly set in configure.in (line 129). It
should not be set if GLib is not compiled with ansi-compliance.

This should already be fixed in CVS (and in the last pygtk/gnome-python 
releases).

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk



[pygtk] GCC with -ansi option

2002-01-31 Thread Arjan J. Molenaar

Hi,

I'm having some trouble compiling PyGTK from CVS. I get errors like
these:

/gnome/head/INSTALL/include/glib-2.0/glib/gmessages.h:108:
warning: invalid character in macro parameter name

The remedy seems to be removing the '-ansi' flag from the CFLAGS
attribute. AKAIK the '...' in macro definitions is a GCC specific
feature, therefore setting '-ansi' will error on those statements.
Note that I did not configure GLib with the --enable-ansi option.

I noticed this flag is explicitly set in configure.in (line 129). It
should not be set if GLib is not compiled with ansi-compliance.

Regards,

Arjan

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk