Skip to content

Commit 7fc6a62

Browse files
committed
Add the "-Wno-ignored-attributes" for the ignoring attributes on template parameters warning
This is to suppress a bogus warning(and therefore error) on the CI while migrating to Ubuntu 24. See ARM-software/ComputeLibrary#330
1 parent 3571d50 commit 7fc6a62

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ jobs:
318318
if: ${{ runner.os == 'Linux' && steps.cache.outputs.cache-hit != 'true' }}
319319
run: |
320320
# Install deps
321-
sudo apt remove needrestart
322321
sudo apt-get update
323322
sudo apt-get install valgrind
324323
sudo apt-get autoremove

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ endif()
299299

300300
# Add appropriate flags for GCC
301301
if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
302-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings")
302+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-ignored-attributes")
303303
endif ()
304304

305305
# Fixes "C++ exception handler used, but unwind semantics are not enabled" warning Windows

0 commit comments

Comments
 (0)