mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 14:22:33 +00:00
Check for float conversion issues on build
Useful to catch any errors left over from the migration of times from double to int64_t
This commit is contained in:
parent
2e71dde780
commit
0d68b7078c
12 changed files with 36 additions and 31 deletions
2
setup.py
2
setup.py
|
|
@ -212,7 +212,7 @@ def init_env(
|
|||
cppflags.append('-DDEBUG_{}'.format(el.upper().replace('-', '_')))
|
||||
cflags = os.environ.get(
|
||||
'OVERRIDE_CFLAGS', (
|
||||
'-Wextra -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11'
|
||||
'-Wextra -Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11'
|
||||
' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
|
||||
).format(
|
||||
optimize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue