Changeset 160538 in webkit


Ignore:
Timestamp:
Dec 13, 2013 1:41:16 AM (10 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] Remove the -Wno-c++11-extensions compiler option for Clang builds
https://bugs.webkit.org/show_bug.cgi?id=125639

Reviewed by Anders Carlsson.

  • Source/autotools/SetupCompilerFlags.m4: The -Wno-c++11-extensions compiler option was in use

when building with Clang. It is now removed as the C++11 standard is enabled throughout the project.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r160531 r160538  
     12013-12-13  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] Remove the -Wno-c++11-extensions compiler option for Clang builds
     4        https://bugs.webkit.org/show_bug.cgi?id=125639
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * Source/autotools/SetupCompilerFlags.m4: The -Wno-c++11-extensions compiler option was in use
     9        when building with Clang. It is now removed as the C++11 standard is enabled throughout the project.
     10
    1112013-12-11  Martin Robinson  <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
    212
  • trunk/Source/autotools/SetupCompilerFlags.m4

    r156462 r160538  
    1010
    1111# libstdc++ is at the moment the only option as the C++ standard library when compiling with Clang.
    12 # -Wno-c++11-extensions, currently only usable with Clang, suppresses warnings of C++11 extensions in use.
    1312# Suppress unused arguments warnings for C++ files as well.
    1413if test "$cxx_compiler" = "clang++"; then
    15     CXXFLAGS="$CXXFLAGS -stdlib=libstdc++ -Wno-c++11-extensions -Qunused-arguments"
     14    CXXFLAGS="$CXXFLAGS -stdlib=libstdc++ -Qunused-arguments"
    1615fi
    1716
Note: See TracChangeset for help on using the changeset viewer.