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 698232 - plugin/perl: add function prototypes.
plugin/perl: add function prototypes.
Status: RESOLVED FIXED
Product: xchat-gnome
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-17 19:36 UTC by Dominique Leuenberger
Modified: 2014-06-12 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
plugin/perl: add function prototypes. (955 bytes, patch)
2013-04-17 19:36 UTC, Dominique Leuenberger
none Details | Review

Description Dominique Leuenberger 2013-04-17 19:36:56 UTC
Building the code with -Werror=missing-prototypes otherwise fails with:
[  427s] perl.c: At top level:
[  427s] perl.c:1343:1: error: no previous prototype for 'xchat_plugin_get_info' [-Werror=missing-prototypes]
[  427s] perl.c:1360:1: error: no previous prototype for 'xchat_plugin_init' [-Werror=missing-prototypes]
[  427s] perl.c:1395:1: error: no previous prototype for 'xchat_plugin_deinit' [-Werror=missing-prototypes]
[  427s] cc1: some warnings being treated as errors
[  427s] make[4]: *** [perl_la-perl.lo] Error 1
Comment 1 Dominique Leuenberger 2013-04-17 19:36:58 UTC
Created attachment 241769 [details] [review]
plugin/perl: add function prototypes.
Comment 2 Ritesh Khadgaray ( irc:ritz) 2014-06-12 12:38:48 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.