1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Disable a harmless warning on Linux.

This commit is contained in:
Sadie Powell
2025-10-05 16:40:54 +01:00
parent 9782c1f94b
commit da5c68f274
+2 -1
View File
@@ -159,7 +159,8 @@ if(MSVC)
# Otherwise, we're not using Visual Studio
else()
# Set the compile flags to have all warnings on (including shadowed variables)
set(CXXFLAGS "${CXXFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wpedantic -Wno-format-nonliteral -Wno-format-zero-length -Wno-unused-parameter ${CMAKE_CXX_FLAGS}")
set(CXXFLAGS "${CXXFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wpedantic")
set(CXXFLAGS "${CXXFLAGS} -Wno-format-nonliteral -Wno-format-zero-length -Wno-date-time -Wno-unused-parameter ${CMAKE_CXX_FLAGS}")
endif()
# If CMake has found that the given system requires a special library for dl* calls, include it with the linker flags