Disable Clang's -Wreturn-type-c-linkage for Source/WebCore/bindings/v8/
authorhans@chromium.org <hans@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 09:35:51 +0000 (09:35 +0000)
committerhans@chromium.org <hans@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 09:35:51 +0000 (09:35 +0000)
commitca3ea7468902940766c5bd0636240dbef04eb2f2
treeba13752ff8dbda205252ab7cb76815f7071114af
parent8f46fa0cbaabb7dae6c5c39c2102d224d9e94782
Disable Clang's -Wreturn-type-c-linkage for Source/WebCore/bindings/v8/
https://bugs.webkit.org/show_bug.cgi?id=107845

Reviewed by Adam Barth.

A recent version of Clang started warning about code in
Source/WebCore/bindings/v8/npruntime.cpp.

In this case it is warning about an 'extern "c"' function returning a
non-POD type. But because the function has internal linkage, the
warning doesn't really apply.

This change suppresses the warning in the meantime.

Tested by building with Clang r172454.

* WebCore.gyp/WebCore.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.gyp/WebCore.gyp