GNOME Bugzilla – Bug 725122
Fix build of PyGObject on Visual C++
Last modified: 2014-02-25 07:32:41 UTC
Hi, There were some moves and changes to the PyGObject sources that needed some updates so that it will build under Visual C++ again[1], namely the fallback definitions for INFINITY and NAN needs to be moved to pygi-basictypes.c, and a variable definition in the middle of the block needs to be avoided. I will attach the patch which accomplishes these in a bit. With blessings, thank you!
Created attachment 270222 [details] [review] Fix build of PyGObject on Visual C++
Thanks! My bad with the incorrect NAN and INFINITY move. As a side note, I'll look into adding: -Wdeclaration-after-statement or even -Werror=declaration-after-statement to the build as I'm sure these get a bit tiresome for you.