summaryrefslogtreecommitdiff
path: root/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.46-remove_Werror_from_FLAGS.patch
blob: 9c8ff79e311ed4d2c3e8bf35a74c0cd033f47bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/cmake/compiler_settings.cmake	2020-09-29 10:15:14.293703615 +0200
+++ b/cmake/compiler_settings.cmake	2020-09-29 10:15:32.173704251 +0200
@@ -53,7 +53,7 @@
 endmacro()
 
 macro(set_gcc_warnings)
-    list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-Werror" "-pedantic" "-Wextra")
+    list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-pedantic" "-Wextra")
     if(COMPILER_CLANG)
         if(PLATFORM_ANDROID)
             # when using clang with libc and API lower than 21 we need to include Android support headers and ignore the gnu-include-next warning.
--- a/cspell.json	2020-09-29 10:19:23.102712472 +0200
+++ b/cspell.json	2020-09-29 10:20:32.195714931 +0200
@@ -11,7 +11,7 @@
         // CMake
         "cmake",
         // Compiler and linker
-        "Wpedantic", "Wextra", "Werror", "xldscope", "Wtype", "Wunused",
+        "Wpedantic", "Wextra", "xldscope", "Wtype", "Wunused",
         // Android NDK
         "JNIEXPORT", "jint", "JNICALL", "jobject", "jclass", "jmethod", "Ljava",
         // XML parser
--- a/CI/install-test/CMakeLists.txt	2020-09-29 10:19:32.094712792 +0200
+++ b/CI/install-test/CMakeLists.txt	2020-09-29 10:19:46.064713289 +0200
@@ -4,4 +4,4 @@
 find_package(AWSSDK REQUIRED COMPONENTS s3)
 add_executable(${PROJECT_NAME} "main.cpp")
 target_link_libraries(${PROJECT_NAME} ${AWSSDK_LINK_LIBRARIES})
-target_compile_options(${PROJECT_NAME} PRIVATE "-Wall" "-Werror")
+target_compile_options(${PROJECT_NAME} PRIVATE "-Wall")