GNOME Bugzilla – Bug 712242
Compilation fails when variable of type 'uint' encountered
Last modified: 2013-11-13 19:53:58 UTC
Created attachment 259748 [details] [review] Fix 'uint v;' declaration I'm trying to compile gjs @1.38.1 on OSX using clang-500.2.79 and compilation fails in file value.c (now it's value.cpp in HEAD) with the following error: gi/value.c:671:9: error: use of undeclared identifier 'uint' uint v; I tried to find a uint type in spidermonkey API and found nothing (https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference?redirectlocale=en-US&redirectslug=SpiderMonkey%2FJSAPI_Reference) I guess that although this compiles on other platforms, it's an error anyways since uint is not standard. I'm not sure if it should say 'unsigned int' or 'guint'. Thank you.
Review of attachment 259748 [details] [review]: Looks good; I just tweaked the commit message a bit per https://live.gnome.org/GnomeLove/SubmittingPatches
Thank you very much! :)