mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Make some additional -Wconstant-conversion warnings from clang 3.9.0 in
bwn(4) non-fatal for now.
This commit is contained in:
parent
1c7c2b26e8
commit
4e8a91fb6c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305393
@ -1211,13 +1211,13 @@ dev/bwi/bwiphy.c optional bwi
|
||||
dev/bwi/bwirf.c optional bwi
|
||||
dev/bwi/if_bwi.c optional bwi
|
||||
dev/bwi/if_bwi_pci.c optional bwi pci
|
||||
# XXX Work around clang warning, until maintainer approves fix.
|
||||
# XXX Work around clang warnings, until maintainer approves fix.
|
||||
dev/bwn/if_bwn.c optional bwn siba_bwn \
|
||||
compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
|
||||
dev/bwn/if_bwn_pci.c optional bwn pci bhnd
|
||||
dev/bwn/if_bwn_phy_common.c optional bwn siba_bwn
|
||||
dev/bwn/if_bwn_phy_g.c optional bwn siba_bwn \
|
||||
compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
|
||||
compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION}"
|
||||
dev/bwn/if_bwn_phy_lp.c optional bwn siba_bwn \
|
||||
compile-with "${NORMAL_C} ${NO_WSOMETIMES_UNINITIALIZED}"
|
||||
dev/bwn/if_bwn_phy_n.c optional bwn siba_bwn
|
||||
|
@ -28,7 +28,7 @@ SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
# XXX Work around clang warning, until maintainer approves fix.
|
||||
# XXX Work around clang warnings, until maintainer approves fix.
|
||||
CWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED}
|
||||
CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED}
|
||||
CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION}
|
||||
CWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED}
|
||||
|
Loading…
Reference in New Issue
Block a user