(Forgot to reply-all.) In gutils.h lines 82 and 122, and in gstring.h line 129, change "static inline" to "static __inline". Alternatively add a PreprocessorDefinition to the project file to define "inline" as "__inline". I figured this out just as a hunch, but after doing this I did find http://lists.cairographics.org/archives/cairo/2008-January/012719.html which talks about the same thing for cairo (with the same suggested fix of defining inline to __inline). -Arnav On Wed, Jan 8, 2014 at 10:48 AM, fr33domlover <fr33domlover@xxxxxxxxxx> wrote: > > Hello, > I've been trying to port my GTK2 program to GTK3, but I've ran into a > problem: > Visual Studio 2012, which handles GTK2 just fine, claims some glib header > files have syntax errors. > > I've posted a question on Stack Overflow here: > http://stackoverflow.com/questions/20883854/compiling-a-gtk3-program-in-visual-studio-2012 > > I noted that Codeblocks&MinGW compile the same code under the same > configuration just fine and do not report any problems with GTK3 header > files. > However, I need the program to work with VS2012 specifically. > > Here's a link to the compilation errors I get when trying to compile a > basic gtk3 program with VS2012: http://pastebin.com/ThZpwVmg > > Here's a link to the basic program I tried compiling: > https://github.com/The-J-Person/Example-gtk3-vs2012-project > > Any help will be greatly appreciated! > > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > https://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list