From 2192dca6d76838b1850c3260cd62c83f3b238c20 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Mon, 21 Apr 2025 08:54:30 -0400 Subject: [PATCH] build(meson.build): added -Wall and -Werror to 4DSSE default options these are there to enforce best practices and to catch errors soon. See this blog post by one of the curl maintainers (https://daniel.haxx.se/blog/2024/12/12/a-twenty-five-years-old-curl-bug/) --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e351107..a8a4cb3 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # *********************************************************************** # -project('4DSSE', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23'], meson_version: '>=1.6.0') +project('4DSSE', 'cpp', version: '0.0.1a', default_options: ['cpp_std=c++23', 'warning_level=2', 'werror=true'], meson_version: '>=1.6.0') # Add default visibility for all C++ targets add_project_arguments('-fvisibility=default', language: 'cpp')