GNOME Bugzilla – Bug 156341
typename variable conflicts with C++ reserved word
Last modified: 2004-12-22 21:47:04 UTC
If a C++ project is compiled while including pygobject.h (which has some declarations including variables called "typename"), the compilation fails since "typename" is a C++ reserved word. A patch will be attached which should correct this (renames the variables to type_name); I didn't touch the codegen stuff, however, so there may be changes needed there as well.
Created attachment 33012 [details] [review] Patch to rename typename variables to type_name
There is little reason to be able to compile PyGTK itself with a C++ compiler, therefor only the headers needs a change. The header was fixed in bug 155304, closing as dup. *** This bug has been marked as a duplicate of 155304 ***