Silence some warnings.

This commit is contained in:
David Given
2024-10-13 23:39:03 +02:00
parent 76d139c29e
commit e07a906731
3 changed files with 7 additions and 1 deletions

View File

@@ -15,4 +15,5 @@ clibrary(
"ffconf.h": "./source/ffconf.h", "ffconf.h": "./source/ffconf.h",
"diskio.h": "./source/diskio.h", "diskio.h": "./source/diskio.h",
}, },
cflags=["-Wno-pointer-sign"],
) )

View File

@@ -22,4 +22,5 @@ clibrary(
"libhfs.h": "./libhfs/libhfs.h", "libhfs.h": "./libhfs/libhfs.h",
"os.h": "./libhfs/os.h", "os.h": "./libhfs/os.h",
}, },
cflags=["-Wno-pointer-sign"],
) )

View File

@@ -60,7 +60,11 @@ else:
clibrary( clibrary(
name="libusbp", name="libusbp",
srcs=srcs, srcs=srcs,
cflags=["-Idep/libusbp/include", "-Idep/libusbp/src"], cflags=[
"-Idep/libusbp/include",
"-Idep/libusbp/src",
"-Wno-deprecated-declarations",
],
caller_ldflags=ldflags, caller_ldflags=ldflags,
deps=deps, deps=deps,
hdrs={ hdrs={