Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2011 19:27:27 -0500
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        gnome@freebsd.org
Subject:   Re: gtk function declaration not prototyped?
Message-ID:  <4D5876EF.4060405@freebsd.org>
In-Reply-To: <19800.29280.574271.80477@jerusalem.litteratus.org>
References:  <19800.29280.574271.80477@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
> 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5876EF.4060405>