mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-30 08:19:09 +00:00
Anything that casts struct sockaddr * to struct sockaddr_foo is safe
due to careful design. We've not yet figured out how to properly annotate the sockaddr structs to communicate this to the compiler and there's a number of constructs in the tree that make this annotation challenging. As such, reduce warns to 3 here because this code really isn't warns 6 safe, even if it kinda sorta appears to be on intel (which has no such alignment restrictions). Warns 4 adds the -Wcast-align warning. # fixes the mips tinderbox build
This commit is contained in:
parent
c97a53e8b9
commit
b207c9d856
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203707
@ -3,4 +3,6 @@
|
||||
PROG= wake
|
||||
MAN= wake.8
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user