Commit Graph

6 Commits

Author SHA1 Message Date
christos
0f75d4c102 Provide a global no-packed-address for both gcc and clang 2020-10-18 19:56:41 +00:00
christos
facf2dbee5 use the GCC_ warning variable 2020-10-18 15:02:12 +00:00
christos
53f398bf72 Avoid alignment of packed member 2020-10-18 14:33:28 +00:00
rin
2bc4fb1fcb Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
2019-02-17 04:05:41 +00:00
ryoon
64125f9b55 Fix buld with clang, add warning option exceptions 2016-06-13 20:03:07 +00:00
pgoyette
bc957b588e New module for ipl (aka ipfilter). 2016-06-09 04:44:18 +00:00