Changeset 140800 in webkit
- Timestamp:
- Jan 25, 2013 1:35:51 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140798 r140800 1 2013-01-24 Hans Wennborg <hans@chromium.org> 2 3 Disable Clang's -Wreturn-type-c-linkage for Source/WebCore/bindings/v8/ 4 https://bugs.webkit.org/show_bug.cgi?id=107845 5 6 Reviewed by Adam Barth. 7 8 A recent version of Clang started warning about code in 9 Source/WebCore/bindings/v8/npruntime.cpp. 10 11 In this case it is warning about an 'extern "c"' function returning a 12 non-POD type. But because the function has internal linkage, the 13 warning doesn't really apply. 14 15 This change suppresses the warning in the meantime. 16 17 Tested by building with Clang r172454. 18 19 * WebCore.gyp/WebCore.gyp: 20 1 21 2013-01-25 Eberhard Graether <egraether@google.com> 2 22 -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r140778 r140800 2158 2158 'sources/': [['exclude', 'Mac\\.(cpp|mm?)$']] 2159 2159 }], 2160 ['clang==1', { 2161 # FIXME: Remove once this warning has been tweaked in Clang. 2162 'cflags': [ 2163 '-Wno-return-type-c-linkage', 2164 ], 2165 'xcode_settings': { 2166 'WARNING_CFLAGS': [ 2167 '-Wno-return-type-c-linkage', 2168 ], 2169 } 2170 }], 2160 2171 ], 2161 2172 },
Note: See TracChangeset
for help on using the changeset viewer.