Skip to content

Commit 6862cca

Browse files
committed
ARM: ignore -Werror=comma
We use the comma operator to compress the vertical width of the file. Ignore the error that this introduces due to `-Werror`.
1 parent 276d4b1 commit 6862cca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ if(DS2_ARCHITECTURE MATCHES "ARM|ARM64")
217217

218218
Sources/Core/ARM/HardwareBreakpointManager.cpp
219219
Sources/Core/ARM/SoftwareBreakpointManager.cpp)
220+
set_source_files_properties(
221+
Sources/Architecture/ARM/ThumbBranchInfo.cpp
222+
PROPERTIES
223+
COMPILE_OPTIONS $<$<CXX_COMPILER_ID:Clang>:-Wno-error=comma>)
220224

221225
target_sources(ds2 PRIVATE
222226
${CMAKE_CURRENT_BINARY_DIR}/Headers/DebugServer2/Architecture/ARM/RegistersDescriptors.h

0 commit comments

Comments
 (0)