Commit Graph

13 Commits

Author SHA1 Message Date
mrg
21303c93e9 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +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
mrg
1fcf7be45f - use -Wno-error=implicit-fallthrough with GCC7. 2019-02-04 04:05:15 +00:00
maya
aba096954d Code is fixed, so hiding the warning is not necessary any more. 2018-02-19 16:21:36 +00:00
joerg
61efc2e9d5 Simplify and make the GCC check more precise at the same time. 2018-02-12 22:18:36 +00:00
adam
0f74ee8d8c Fix building with MKGCC=no 2018-02-12 20:47:09 +00:00
martin
399aaa9545 Avoid gcc 6 specific options when compiling with gcc 5 2018-02-06 12:58:17 +00:00
mrg
fea810f4a7 pf_table.c has many left-shift of negative value issues. 2018-02-06 09:20:50 +00:00
christos
3bf8f26261 Add ioconf entries to the pseudo-devices. 2015-08-20 11:05:00 +00:00
jmcneill
1f02a7ab53 build pf module with WARNS=3, and remove the need for -Wno-shadow 2011-08-29 09:50:04 +00:00
jmcneill
54d6e22c5d set default WARNS for modules to 3 -- the only one that needs < 3 now is pf 2011-08-28 15:40:49 +00:00
ahoka
0edd676945 Remove bpfilter.h as not needed. 2010-04-13 13:09:46 +00:00
ahoka
dcc843776f Add new type kernel module for pf (includes pflog, but not pfsync). 2010-04-12 14:05:38 +00:00