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 555964 - float #defined constants are ignored
float #defined constants are ignored
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-10-11 23:12 UTC by Johan Bilien
Modified: 2015-02-07 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug 555964 - Parse floating-point #defines (6.64 KB, patch)
2009-02-25 20:27 UTC, Colin Walters
accepted-commit_now Details | Review

Description Johan Bilien 2008-10-11 23:12:49 UTC
They need to be handled in the parser
Comment 1 Colin Walters 2009-02-25 20:27:12 UTC
Created attachment 129514 [details] [review]
Bug 555964 - Parse floating-point #defines

Previously we just supported int and string, add double to this.
Technically we should probably differentiate between float and
double, but it's not likely to be very useful in practice to do so.
Comment 2 Johan (not receiving bugmail) Dahlin 2009-02-25 20:33:16 UTC
Comment on attachment 129514 [details] [review]
Bug 555964 - Parse floating-point #defines

Looks good.
Let's see how long time it takes before someone wants to use unsigned, float, long, or long long constants. Ideally this should be generic, but I have no idea how to do that properly.

Separate issue, looks good.
Comment 3 André Klapper 2015-02-07 16:59:07 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]