diff options
author | lloyd <[email protected]> | 2014-02-09 17:32:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-09 17:32:11 +0000 |
commit | 07c80ecfccb9cd594993be001a46a087e70269ed (patch) | |
tree | ab278b21fc4db1896139600c9379f7c9918d5fa5 | |
parent | 313b92a3d352c8f32685a4b56015644b14117c08 (diff) |
Update Clang flags. Remove unneeded includes of init.h
-rw-r--r-- | src/build-data/cc/clang.txt | 7 | ||||
-rw-r--r-- | src/cmd/tls_server_asio.cpp | 1 | ||||
-rw-r--r-- | src/tests/nist_x509.cpp | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 8cbe1a731..c05d846b8 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -8,9 +8,10 @@ add_include_dir_option -I add_lib_dir_option -L add_lib_option -l -lang_flags "-D_REENTRANT -std=c++11" -maintainer_warning_flags "-Werror" -warning_flags "-Wextra -Wall" +lang_flags "-std=c++11 -D_REENTRANT -fstack-protector" + +warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast" +maintainer_warning_flags "-Qunused-arguments -Werror -Wno-error=old-style-cast -Wno-error=unused-parameter -Wno-error=unused-variable" makefile_style gmake diff --git a/src/cmd/tls_server_asio.cpp b/src/cmd/tls_server_asio.cpp index 0e5af3dcc..b41f99391 100644 --- a/src/cmd/tls_server_asio.cpp +++ b/src/cmd/tls_server_asio.cpp @@ -16,7 +16,6 @@ #include <botan/x509cert.h> #include <botan/pkcs8.h> #include <botan/auto_rng.h> -#include <botan/init.h> #include "credentials.h" diff --git a/src/tests/nist_x509.cpp b/src/tests/nist_x509.cpp index 4e03ecf10..188467690 100644 --- a/src/tests/nist_x509.cpp +++ b/src/tests/nist_x509.cpp @@ -16,7 +16,6 @@ extensions which are not supported. #if defined(BOTAN_HAS_X509_CERTIFICATES) #include <botan/x509path.h> -#include <botan/init.h> #include <algorithm> #include <iostream> |