Home | History | Annotate | only in /src/sys/modules/udf
History log of /src/sys/modules/udf
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 06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.4 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.3 10-Jul-2013  reinoud branches: 1.3.32;
Add udf_rename.c to the UDF module make
 1.2 26-May-2011  joerg branches: 1.2.4; 1.2.14; 1.2.18;
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
 1.1 28-Jun-2008  rumble branches: 1.1.2; 1.1.4; 1.1.8; 1.1.20; 1.1.26; 1.1.32;
Add of bunch of file system modules.
 1.1.32.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.26.1 31-May-2011  rmind sync with head
 1.1.20.2 04-May-2009  yamt sync with head.
 1.1.20.1 28-Jun-2008  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:14:13 +0000
 1.1.8.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.8.1 28-Jun-2008  wrstuden file Makefile was added on branch wrstuden-revivesa on 2008-09-18 04:36:59 +0000
 1.1.4.2 03-Jul-2008  simonb Sync with head.
 1.1.4.1 28-Jun-2008  simonb file Makefile was added on branch simonb-wapbl on 2008-07-03 18:38:20 +0000
 1.1.2.2 29-Jun-2008  mjf Sync with HEAD.
 1.1.2.1 28-Jun-2008  mjf file Makefile was added on branch mjf-devfs2 on 2008-06-29 09:33:18 +0000
 1.2.18.1 28-Aug-2013  rmind sync with head
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.32.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed