1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2025-01-03 10:06:01 +01:00

Enforce C99 standard during pytrexio compilation

This commit is contained in:
q-posev 2022-07-11 15:32:57 +02:00
parent 6d0293a379
commit 7b408aed2e

View File

@ -94,6 +94,7 @@ pytrexio_module = Extension('pytrexio._pytrexio',
include_dirs = [h5_cflags, srcpath, numpy_includedir], include_dirs = [h5_cflags, srcpath, numpy_includedir],
libraries = ['hdf5', 'hdf5_hl'], libraries = ['hdf5', 'hdf5_hl'],
extra_compile_args = [ extra_compile_args = [
'-std=c99',
'-Wno-discarded-qualifiers', '-Wno-discarded-qualifiers',
'-Wno-unused-variable', '-Wno-unused-variable',
'-Wno-unused-but-set-variable' '-Wno-unused-but-set-variable'