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 630994 - [g-ir-scanner] Ignore #pragma in scanned sources (PATCH)
[g-ir-scanner] Ignore #pragma in scanned sources (PATCH)
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-09-30 09:53 UTC by Pavel Holejsovsky
Modified: 2015-02-07 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ignore #pragma directives while lexing preprocessed source. (977 bytes, patch)
2010-09-30 09:54 UTC, Pavel Holejsovsky
none Details | Review

Description Pavel Holejsovsky 2010-09-30 09:53:32 UTC
On cygwin, system header files contain some #pragma directives.  When g-ir-scanner encounters them, it reports annoying false-alarm syntax errors.  Since there is no use for scanner to handle #pragma directives, it is probably best to ignore them completely.
Comment 1 Pavel Holejsovsky 2010-09-30 09:54:20 UTC
Created attachment 171418 [details] [review]
Ignore #pragma directives while lexing preprocessed source.
Comment 2 André Klapper 2015-02-07 16:52:10 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]