Changeset 85710 in webkit


Ignore:
Timestamp:
May 3, 2011 8:15:39 PM (13 years ago)
Author:
demarchi@webkit.org
Message:

2011-05-03 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Xan Lopez.

[CMAKE] Remove C++0x compat mode warnings for GCC >= 4.6.0
https://bugs.webkit.org/show_bug.cgi?id=60041

Hardcode -Wno-c++0x-compat for the default compiler (if version >=
4.6.0) until our codebase is ready. This is the same as done for
autotools.

  • Source/cmake/WebKitHelpers.cmake: ditto.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r85708 r85710  
     12011-05-03  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Xan Lopez.
     4
     5        [CMAKE] Remove C++0x compat mode warnings for GCC >= 4.6.0
     6        https://bugs.webkit.org/show_bug.cgi?id=60041
     7
     8        Hardcode -Wno-c++0x-compat for the default compiler (if version >=
     9        4.6.0) until our codebase is ready. This is the same as done for
     10        autotools.
     11
     12        * Source/cmake/WebKitHelpers.cmake: ditto.
     13
    1142011-05-03  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
    215
  • trunk/Source/cmake/WebKitHelpers.cmake

    r83792 r85710  
    2323    # Enable warnings by default
    2424    SET(OLD_COMPILE_FLAGS "-W -DANOTHER_BRICK_IN_THE -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat -Wformat-security -Wmissing-format-attribute -Wno-format-y2k -Wno-parentheses -Wno-unused-parameter -Wpointer-arith  -Wreturn-type -Wundef -Wwrite-strings ${OLD_COMPILE_FLAGS}")
     25
     26    # Disable C++0x compat warnings for GCC >= 4.6.0 until we build
     27    # cleanly with that.
     28    IF (NOT ${COMPILER_VERSION} VERSION_LESS "4.6.0")
     29        SET(OLD_COMPILE_FLAGS "${OLD_COMPILE_FLAGS} -Wno-c++0x-compat")
     30    ENDIF ()
    2531
    2632    SET_TARGET_PROPERTIES (${_target} PROPERTIES
Note: See TracChangeset for help on using the changeset viewer.