Commit e6c627e6 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

[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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bdaed19e
2013-12-13 Zan Dobersek <zdobersek@igalia.com>
[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.
2013-12-11 Martin Robinson <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
Adding a .ycm_extra_conf file for webkitGtk
......
......@@ -9,10 +9,9 @@ if test "$c_compiler" = "clang"; then
fi
# libstdc++ is at the moment the only option as the C++ standard library when compiling with Clang.
# -Wno-c++11-extensions, currently only usable with Clang, suppresses warnings of C++11 extensions in use.
# Suppress unused arguments warnings for C++ files as well.
if test "$cxx_compiler" = "clang++"; then
CXXFLAGS="$CXXFLAGS -stdlib=libstdc++ -Wno-c++11-extensions -Qunused-arguments"
CXXFLAGS="$CXXFLAGS -stdlib=libstdc++ -Qunused-arguments"
fi
if test "$host_cpu" = "sh4"; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment