mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
meson: Enable compiler warnings on unused result and global shadows
This commit is contained in:
parent
5d915134a3
commit
f887756a71
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ if host_machine.system() == 'darwin'
|
||||||
tio_dep += [iokit_dep, corefoundation_dep]
|
tio_dep += [iokit_dep, corefoundation_dep]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tio_c_args = ['-Wno-unused-result']
|
tio_c_args = ['-Wshadow']
|
||||||
|
|
||||||
if enable_setspeed2
|
if enable_setspeed2
|
||||||
tio_c_args += '-DHAVE_TERMIOS2'
|
tio_c_args += '-DHAVE_TERMIOS2'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue