build: Enable -Wall and -Wextra for the entire project
@@ -47,6 +47,7 @@ if not headers_only
add_project_arguments('-nostdinc', '-fno-builtin', language: ['c', 'cpp'])
add_project_arguments('-std=c++20', language: 'cpp')
add_project_arguments('-fno-rtti', '-fno-exceptions', language: 'cpp')
+ add_project_arguments('-Wall', '-Wextra', language: ['c', 'cpp'])
add_project_link_arguments('-nostdlib', language: ['c', 'cpp'])
if c_compiler.get_id() == 'gcc'
