Skip to content

Commit

Permalink
Ignore VLA warnings in newer Clang (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
xguerin authored Sep 23, 2024
1 parent 9f3261e commit acdaa9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ message(STATUS "[ TULIPS OPTIONS END ]")
#

if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-address-of-packed-member")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-address-of-packed-member -Wno-vla-extension")
endif ()

if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
Expand Down
1 change: 0 additions & 1 deletion src/transport/ena/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstdint>
#include <cstdlib>
#include <ctime>
#include <sstream>
#include <stdexcept>
#include <thread>
#include <dpdk/rte_config.h>
Expand Down

0 comments on commit acdaa9b

Please sign in to comment.