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


Keyword substitution: kv
Default branch: MAIN


Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 20 14:26:01 2024 UTC (8 months, 4 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +1 -2 lines
Pull up following revision(s) (requested by rin in ticket #739):

	sys/net/zlib.c: revision 1.39
	sys/conf/copts.mk: revision 1.12 (patch)

net/zlib.c: Add apparent /* FALLTHROUGH */'s to appease compilers
Ideas from t-kusaba at iij, thanks!

sys/conf/copts.mk: Drop fallthrough hack for zlib.c

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jul 4 01:11:34 2024 UTC (9 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2 lines
sys/conf/copts.mk: Drop fallthrough hack for zlib.c

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Aug 8 06:27:32 2023 UTC (20 months, 1 week ago) by mrg
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +18 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 3 21:30:21 2023 UTC (22 months, 2 weeks ago) by lukem
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -7 lines
adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}

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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 3 09:09:13 2023 UTC (22 months, 2 weeks ago) by lukem
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 3 08:52:58 2023 UTC (22 months, 2 weeks ago) by lukem
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 20:42:16 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
sys/conf: fix typo in comment

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:17 2021 UTC (4 years ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +15 -1 lines
Sync with HEAD.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 12 06:08:31 2021 UTC (4 years ago) by mrg
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +15 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:17 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.4.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.3: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:01 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.2: +6 -1 lines
Merge changes from current as of 20200406

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 7 00:53:24 2020 UTC (5 years, 1 month ago) by mrg
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
XXX:

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

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Sep 30 00:06:02 2019 UTC (5 years, 6 months ago) by mrg
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
convert HAVE_GCC == 7 to HAVE_GCC >= 7.

Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +15 -0 lines
Sync with HEAD

Revision 1.3.4.1
Sun Feb 10 05:01:59 2019 UTC (6 years, 2 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -15 lines
file copts.mk was added on branch phil-wifi on 2019-06-10 22:07:04 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Feb 10 05:01:59 2019 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 5 09:29:19 2019 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 5 08:33:25 2019 UTC (6 years, 2 months ago) by mrg
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>