mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -3,4 +3,6 @@
|
|||
PROG= wake
|
||||
MAN= wake.8
|
||||
|
||||
WARNS?= 3
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue