After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 505571 - function declaration isn't a prototype gcc warning
function declaration isn't a prototype gcc warning
Status: RESOLVED OBSOLETE
Product: libgda
Classification: Other
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-25 14:35 UTC by Gustavo R. Montesino
Modified: 2008-01-02 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gustavo R. Montesino 2007-12-25 14:35:19 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);
Comment 1 malerba 2008-01-02 07:52:44 UTC
This declaration has been removed from the header file in later versions (it was not implemented so it was useless).

Thanks!