The NetBSD Project

CVS log for src/sys/conf/copts.mk

[BACK] Up to [cvs.NetBSD.org] / src / sys / conf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 8 06:27:32 2023 UTC (6 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.10: +18 -1 lines
Diff to previous 1.10 (colored)

introduce new GCC 12 warning disables and use them in a few places

this introduces 4 new warning disable flags:

   CC_WNO_MISSING_TEMPLATE_KEYWORD
   CC_WNO_REGISTER
   CC_WNO_STRINGOP_OVERREAD
   CC_WNO_ARRAY_BOUNDS

and documents them in README.warnings.  of these, the string op
and array bounds are both problematic (real bugs) and also spurious
(not real bugs), and the other 2 are mostly temporary for older
3rd party code.

add some new uses of CC_WNO_STRINGOP_OVERFLOW.

fix m68k build for gallium and GCC 12.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 3 21:30:21 2023 UTC (8 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.9: +5 -7 lines
Diff to previous 1.9 (colored)

adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}

Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 3 09:09:13 2023 UTC (8 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 3 08:52:58 2023 UTC (8 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 27 20:42:16 2022 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

sys/conf: fix typo in comment

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:17 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.5: +15 -1 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 12 06:08:31 2021 UTC (2 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.5: +15 -1 lines
Diff to previous 1.5 (colored)

new GCC_NO_* uses for warning issues.  most of the users of the new
GCC_NO_RETURN_LOCAL_ADDR are bugs in GCC itself, not the code.

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:17 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.4.3: +1 -1 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:01 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.4.2: +6 -1 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 7 00:53:24 2020 UTC (3 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-cfargs
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

XXX:

turn off -Wunused-but-set-variable for mips' linux_machdep.c and GCC 8.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 30 00:06:02 2019 UTC (4 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

convert HAVE_GCC == 7 to HAVE_GCC >= 7.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:04 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +15 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.4.1, Sun Feb 10 05:01:59 2019 UTC (5 years ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -15 lines
FILE REMOVED

file copts.mk was added on branch phil-wifi on 2019-06-10 22:07:04 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 10 05:01:59 2019 UTC (5 years ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

mark pf.c, radeon_cs.c and via_dmablit.c for no fall thru error.

this was already done in the various modules, but not in the main
kernel.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 5 09:29:19 2019 UTC (5 years ago) by mrg
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

be sure to only apply zlib.c's -Wno-error=implicit-fallthrough to GCC 7.
push the setting into the rump and module version too.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 5 08:33:25 2019 UTC (5 years ago) by mrg
Branch: MAIN

pass -Wno-error=implicit-fallthrough for zlib.c.

XXX: consider using copts.mk for various warning/copt flags passed
in kernel builds currently set via 'makeoptions' in files.* files.
this is suboptimal, as those all get embedded into the kernel with
config_file.h.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>