Re: Gobject-Introspection and CMPH

2010-12-16 Thread Colin Walters
On Wed, Dec 15, 2010 at 8:54 PM, Matthias Clasen matthias.cla...@gmail.com wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: But since you bring it up, what is the official policy? Is it C89? Is it published somewhere? For GTK+, we're generally avoiding C++

Re: Gobject-Introspection and CMPH

2010-12-16 Thread Javier Jardón
On 16 December 2010 17:07, Colin Walters walt...@verbum.org wrote: On Wed, Dec 15, 2010 at 8:54 PM, Matthias Clasen matthias.cla...@gmail.com wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: But since you bring it up, what is the official policy? Is it C89? Is it

Re: Gobject-Introspection and CMPH

2010-12-16 Thread Emmanuele Bassi
On Thu, 2010-12-16 at 12:07 -0500, Colin Walters wrote: On Wed, Dec 15, 2010 at 8:54 PM, Matthias Clasen matthias.cla...@gmail.com wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: But since you bring it up, what is the official policy? Is it C89? Is it

Re: Gobject-Introspection and CMPH

2010-12-16 Thread Colin Walters
On Thu, Dec 16, 2010 at 12:44 PM, Emmanuele Bassi eba...@gmail.com wrote: then they should be removed. we don't use c99 in glib and gtk -- it's been pointed out many times in many threads on this very mailing list. Actually gtk3 currently fails with -std=c99 even due to some anonymous unions

Re: Gobject-Introspection and CMPH

2010-12-16 Thread John Ralls
On Dec 16, 2010, at 9:47 AM, Colin Walters wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: Okay well, I *think* you answered my question, which is that you want the stack to build with c99. No, but Emmanuele did: It should be c89. Gobject-introsopection has

Re: Gobject-Introspection and CMPH

2010-12-16 Thread Colin Walters
On Thu, Dec 16, 2010 at 2:30 PM, John Ralls jra...@ceridwen.us wrote: On Dec 16, 2010, at 9:47 AM, Colin Walters wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: Okay well, I *think* you answered my question, which is that you want the stack to build with c99.

Re: Gobject-Introspection and CMPH

2010-12-15 Thread Colin Walters
On Mon, Dec 13, 2010 at 1:35 PM, John Ralls jra...@ceridwen.us wrote: One of the files in the new (to introspection) cmph directory, chd_ph.c, includes an anonymous union which requires -std=gnu99 to compile. Is that OK? This would have been better as a bug. However, if what you're *really*

Re: Gobject-Introspection and CMPH

2010-12-15 Thread John Ralls
On Dec 15, 2010, at 9:21 AM, Colin Walters wrote: On Mon, Dec 13, 2010 at 1:35 PM, John Ralls jra...@ceridwen.us wrote: One of the files in the new (to introspection) cmph directory, chd_ph.c, includes an anonymous union which requires -std=gnu99 to compile. Is that OK? This would have

Re: Gobject-Introspection and CMPH

2010-12-15 Thread Matthias Clasen
On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: But since you bring it up, what is the official policy? Is it C89? Is it published somewhere? For GTK+, we're generally avoiding C++ comments, since they cause problems for the compilers that are used on win32. What other

Re: Gobject-Introspection and CMPH

2010-12-15 Thread John Ralls
On Dec 15, 2010, at 5:54 PM, Matthias Clasen wrote: On Wed, Dec 15, 2010 at 8:43 PM, John Ralls jra...@ceridwen.us wrote: But since you bring it up, what is the official policy? Is it C89? Is it published somewhere? For GTK+, we're generally avoiding C++ comments, since they cause

Gobject-Introspection and CMPH

2010-12-13 Thread John Ralls
One of the files in the new (to introspection) cmph directory, chd_ph.c, includes an anonymous union which requires -std=gnu99 to compile. Is that OK? Regards, John Ralls ___ gtk-devel-list mailing list gtk-devel-list@gnome.org