Home | History | Annotate | Download | only in ipl
History log of /src/sys/modules/ipl/Makefile
RevisionDateAuthorComments
 1.8  03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.7  29-May-2023  lukem bsd.own.mk: rename NO_ADDR_OF_PACKED_MEMBER to CC_NO_ADDR_OF_PACKED_MEMBER

Add "CC_" prefix to NO_ADDR_OF_PACKED_MEMBER.

We now have the following convention:
GCC_NO_*: Disable specific warnings from GCC.
CLANG_NO_*: Disable specific warnings from Clang.
CC_NO_*: Disable specific warnings from both Clang and GCC.

This reserves "NO_*" Makefile variables to disable other features.

Some space->tab fixes.
 1.6  18-Oct-2020  christos Provide a global no-packed-address for both gcc and clang
 1.5  18-Oct-2020  christos use the GCC_ warning variable
 1.4  18-Oct-2020  christos Avoid alignment of packed member
 1.3  17-Feb-2019  rin 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.
 1.2  13-Jun-2016  ryoon branches: 1.2.2; 1.2.18; 1.2.22;
Fix buld with clang, add warning option exceptions
 1.1  09-Jun-2016  pgoyette New module for ipl (aka ipfilter).
 1.2.22.1  10-Jun-2019  christos Sync with HEAD
 1.2.18.2  03-Dec-2017  jdolecek update from HEAD
 1.2.18.1  13-Jun-2016  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:38:56 +0000
 1.2.2.2  09-Jul-2016  skrll Sync with HEAD
 1.2.2.1  13-Jun-2016  skrll file Makefile was added on branch nick-nhusb on 2016-07-09 20:25:21 +0000

RSS XML Feed