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 702786 - Fix build of pygi-info.c on C89 compilers
Fix build of pygi-info.c on C89 compilers
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other Windows
: Normal trivial
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-21 04:46 UTC by Fan, Chun-wei
Modified: 2013-06-21 05:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't define a variable in the middle of the block (1.04 KB, patch)
2013-06-21 04:46 UTC, Fan, Chun-wei
none Details | Review

Description Fan, Chun-wei 2013-06-21 04:46:28 UTC
Created attachment 247403 [details] [review]
Don't define a  variable in the middle of the block

Hi,

I was trying to build PyGObject 3.8.3 and 3.9.2 with Visual Studio and apparently there was a definition of a variable that accidentally went to the middle of the block, which the compiler didn't like.

So, as a result, I came up with a very simple patch to address the issue.

With blessings, thank you!
Comment 1 Martin Pitt 2013-06-21 05:22:02 UTC
Applied, thank you!