Some JSCore public header files include stdbool.h. The stdbool.h header is a C99 feature, defining the "_Bool" type as well as the "true" and "false" constants. But it's completely unnecessary in C++ as the language already defines the "bool" type and its two values.
Created attachment 21725 [details] Fix compilation in C++ environments where C99 headers are not present Proposed patch from Thiago Macieira <tjmaciei@trolltech.com>
I think the patch is fine, but since this touches the header files of the public API I'd be great to get a review from someone with experience on handling those :)
Comment on attachment 21725 [details] Fix compilation in C++ environments where C99 headers are not present Seems OK. r=me
Landed in r34606