Changeset 264578 in webkit for trunk/Source/JavaScriptCore/shell


Ignore:
Timestamp:
Jul 19, 2020, 11:23:07 AM (5 years ago)
Author:
[email protected]
Message:

-Warray-bounds warnings in testb3 and testair
https://bugs.webkit.org/show_bug.cgi?id=214533

Patch by Michael Catanzaro <Michael Catanzaro> on 2020-07-19
Reviewed by Darin Adler.

Suppress these warnings when building testb3 and testair.

  • shell/CMakeLists.txt:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/shell/CMakeLists.txt

    r248304 r264578  
    8787    WEBKIT_EXECUTABLE_DECLARE(testair)
    8888    WEBKIT_EXECUTABLE_DECLARE(testdfg)
     89
     90    if (COMPILER_IS_GCC_OR_CLANG)
     91        WEBKIT_ADD_TARGET_CXX_FLAGS(testb3 -Wno-array-bounds)
     92        WEBKIT_ADD_TARGET_CXX_FLAGS(testair -Wno-array-bounds)
     93    endif ()
    8994endif ()
    9095
Note: See TracChangeset for help on using the changeset viewer.