Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignore new deprecation warning on freebsd
[simgrid.git] / tools / cmake / Flags.cmake
index 6fdaa31..304cd06 100644 (file)
@@ -43,7 +43,8 @@ if(enable_compile_warnings)
   if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
     # don't care about class that become struct, avoid issue of empty C structs
     # size (coming from libunwind.h)
-    set(warnCXXFLAGS "${warnCXXFLAGS} -Wno-mismatched-tags -Wno-extern-c-compat")
+    # also ignore deprecated builtins (seen with clang 15 + boost 1.79)
+    set(warnCXXFLAGS "${warnCXXFLAGS} -Wno-mismatched-tags -Wno-extern-c-compat -Wno-deprecated-builtins")
   endif()
 
   # the one specific to C but refused by C++