Changeset 254563 in webkit
- Timestamp:
- Jan 15, 2020, 3:45:50 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WTF/MediaTime.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r254558 r254563 1 2020-01-15 Alicia Boya García <aboya@igalia.com> 2 3 [WTF] Remove MediaTime.cpp test warning in GCC 4 https://bugs.webkit.org/show_bug.cgi?id=206238 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 GCC emits warnings when it finds clang pragmas, so I'm wrapping them 9 in #if COMPILER(CLANG) to reduce the noise. 10 11 * TestWebKitAPI/Tests/WTF/MediaTime.cpp: 12 1 13 2020-01-14 Commit Queue <commit-queue@webkit.org> 2 14 -
trunk/Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp
r254509 r254563 59 59 // MediaTime values should be able to be declared static anywhere, just like you can do so with integers. 60 60 // This should not require global constructors or destructors. 61 #if COMPILER(CLANG) 61 62 #pragma clang diagnostic push 62 63 #pragma clang diagnostic error "-Wglobal-constructors" 64 #endif 63 65 static const MediaTime oneSecond(1, 1); 66 #if COMPILER(CLANG) 64 67 #pragma clang diagnostic pop 68 #endif 65 69 66 70 TEST(WTF, MediaTime)
Note:
See TracChangeset
for help on using the changeset viewer.