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 491435 - syntax error in weather.h
syntax error in weather.h
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: gweather
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-29 16:16 UTC by Matthias Clasen
Modified: 2007-11-04 00:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remove the offending semicolon (850 bytes, patch)
2007-10-29 16:17 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2007-10-29 16:16:27 UTC
weather.h defines weather_update_info as a macro, which is wierd in itself, but worse, it includes the ; in the macro expansion, so doing

if (weather_update_info (info, prefs, cb, data) != NULL) foo();

gives a syntax error
Comment 1 Matthias Clasen 2007-10-29 16:17:07 UTC
Created attachment 98115 [details] [review]
remove the offending semicolon
Comment 2 Callum McKenzie 2007-11-04 00:15:47 UTC
Fixed in SVN HEAD. Thanks.