gtk function declaration not prototyped?

Joe Marcus Clarke marcus at freebsd.org
Mon Feb 14 00:27:31 UTC 2011


On 2/13/11 7:08 PM, Robert Huff wrote:
> 
> Hello:
> 	For a 'C' project I'm owrking on, for various reasons the
> warning level has been turned _way_ up.
> 	As a resuly, I see this:
> 
> 	/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
> 
> 	Is this deliberate?

Yes.  Check the comments in the header.  The syntax is done to maintain
backward compatibility.

> 	If so, is there a work-around other than lowering the warning
> level?

You can keep the warning level high, just don't use -Werror.

Joe

> 	If not, is it reasonable to expect a prompt fix?
> 
> 	Respectfully,
> 
> 
> 				Robert Huff
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 


-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the freebsd-gnome mailing list