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/)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user