authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-01 19:17:09-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-01 19:17:09-07:00
log41a0b8173147e403c23b2911bdca1438cdd920b6
tree45a622fc4e7925649799a63c8def685f187d94ef
parentceb3819c42254c1d379d4a0416009d136bbb0385

CMake: disable deprecated function warnings

LLVM 14 deprecated a bunch of C API functions in preparation for opaque pointer changes. However, they did not actually implement opaque pointer semantics, so the deprecations are largely masturbatory. I have nothing against masturbation, I am just busy trying to get the self hosted compiler done for 0.10.0, so we will come back to this later.

1 files changed, 1 insertions(+), 1 deletions(-)

CMakeLists.txt+1-1
......@@ -854,7 +854,7 @@ endif()
854854if(MSVC)
855855 set(EXE_CFLAGS "${EXE_CFLAGS}")
856856else()
857 set(EXE_CFLAGS "${EXE_CFLAGS} -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Werror=type-limits -Wno-missing-braces -Wno-comment")
857 set(EXE_CFLAGS "${EXE_CFLAGS} -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Werror=type-limits -Wno-missing-braces -Wno-comment -Wno-deprecated-declarations")
858858 if(MINGW)
859859 set(EXE_CFLAGS "${EXE_CFLAGS} -Wno-format")
860860 endif()