Skip to content

Commit e07a906

Browse files
committed
Silence some warnings.
1 parent 76d139c commit e07a906

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dep/fatfs/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
"ffconf.h": "./source/ffconf.h",
1616
"diskio.h": "./source/diskio.h",
1717
},
18+
cflags=["-Wno-pointer-sign"],
1819
)

dep/hfsutils/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
"libhfs.h": "./libhfs/libhfs.h",
2323
"os.h": "./libhfs/os.h",
2424
},
25+
cflags=["-Wno-pointer-sign"],
2526
)

dep/libusbp/build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
clibrary(
6161
name="libusbp",
6262
srcs=srcs,
63-
cflags=["-Idep/libusbp/include", "-Idep/libusbp/src"],
63+
cflags=[
64+
"-Idep/libusbp/include",
65+
"-Idep/libusbp/src",
66+
"-Wno-deprecated-declarations",
67+
],
6468
caller_ldflags=ldflags,
6569
deps=deps,
6670
hdrs={

0 commit comments

Comments
 (0)