There's this condition in WTF/wtf/Compiler.h: #if GCC_VERSION_AT_LEAST(4, 7, 0) && __cplusplus >= 201103L If __cplusplus is not defined is interpreted as having the value 0, but it produces a compilation warning with -Wundef. This is the case with some API tests that are written in C (JSNode.c, JSNodeList.c, minidom.c).
Created attachment 166449 [details] Patch
Comment on attachment 166449 [details] Patch LGTM.
Comment on attachment 166449 [details] Patch Clearing flags on attachment: 166449 Committed r130039: <http://trac.webkit.org/changeset/130039>
All reviewed patches have been landed. Closing bug.