GNOME Bugzilla – Bug 505571
function declaration isn't a prototype gcc warning
Last modified: 2008-01-02 07:52:44 UTC
The following bug report was filled on Debian's BTS as bug #457704. Please see http://bugs.debian.org/457704 for more information: /usr/include/libgda-3.0/libgda/gda-config.h:121: warning: function declaration isn't a prototype The line in question uses (); instead of (void); A minor typo but it prevents me from using -Werror in my own package when using libgda headers. GdaDataSourceInfo *gda_data_source_info_new (); should be GdaDataSourceInfo *gda_data_source_info_new (void);
This declaration has been removed from the header file in later versions (it was not implemented so it was useless). Thanks!