Revert -Wno-error cancel flag (#5408)

* Revert `-Wno-error` cancel flag
* Set `werror=false` in rizin-grammar-c subproject
This commit is contained in:
Khairul Azhar Kasmiran 2025-09-25 20:17:06 +08:00 committed by GitHub
parent 5fb6d4c58e
commit 811bd2e7b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 7 deletions

View file

@ -335,7 +335,7 @@ if r.returncode() == 1 and get_option('subprojects_check')
error(subproject_clean_error_msg)
endif
rizin_grammar_c_proj = subproject('rizin-grammar-c', default_options: ['default_library=static'])
rizin_grammar_c_proj = subproject('rizin-grammar-c', default_options: ['default_library=static', 'werror=false'])
rizin_grammar_c_dep = rizin_grammar_c_proj.get_variable('rizin_grammar_c_dep')
# override done in rizin-grammar-c subproject

View file

@ -3,9 +3,6 @@ project('libzip', 'c',
license: 'BSD-3-clause',
meson_version: '>=0.55.0',
)
if host_machine.system() != 'windows'
add_project_arguments('-Wno-error', language: ['c'])
endif
py3_exe = import('python').find_installation()
cc = meson.get_compiler('c')

View file

@ -2,9 +2,6 @@ project('rizin-grammar-c', 'c',
license: 'MIT',
meson_version: '>=0.55.0',
)
if host_machine.system() != 'windows'
add_project_arguments('-Wno-error', language: ['c'])
endif
cc = meson.get_compiler('c')