Added compiler flag to ignore warnings related to narrowing conversions

I know it's bad practice, but I didn't see any other alternative, as this seemed to be an
issue with raygui.
master
Aadhavan Srinivasan 10 months ago
parent 28c4b421d2
commit 613b81c542

@ -1,5 +1,5 @@
project('Pong', ['cpp', 'c'], version: '0.1') project('Pong', ['cpp', 'c'], version: '0.1')
add_global_arguments('-g', '-Wall', '-pedantic', '-Wno-unused-function', language : ['cpp', 'c']) add_global_arguments('-g', '-Wall', '-pedantic', '-Wno-unused-function', '-Wno-narrowing', language : ['cpp', 'c'])
compiler = meson.get_compiler('cpp') compiler = meson.get_compiler('cpp')
cmake = import('cmake') cmake = import('cmake')

Loading…
Cancel
Save