Skip to content

Commit 6854282

Browse files
committed
Revert "SWPROT-8953: libs2: Relax Werror for release, to be reverted"
One would argue that libs2 warnings should not be addressed in the consumming project, but until a better architecture is in place, we can enable it to detect issues and help fixing them at the root. If for any reason having this patch is a problem, I encourage to cherry-pick the 1st Bypass change (that would be applied in next release) This reverts commit 436ef26. Origin: #37 Relate-to: #28 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent 14a1b28 commit 6854282

File tree

1 file changed

+1
-1
lines changed
  • applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2

1 file changed

+1
-1
lines changed

Diff for: applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if("${PROJECT_NAME}" STREQUAL "")
88
add_definitions(-Dx86)
99

1010
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
11-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
11+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
1212
# For gov/cobertura: do not use .c.o on the object files, only .o
1313
set(CMAKE_C_OUTPUT_EXTENSION_REPLACE 1)
1414
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")

0 commit comments

Comments
 (0)