| History log of /src/usr.sbin/mrouted/Makefile |
| Revision | | Date | Author | Comments |
| 1.20 |
| 08-Aug-2023 |
mrg | 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.
|
| 1.19 |
| 03-Jun-2023 |
lukem | 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.
|
| 1.18 |
| 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.17 |
| 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.16 |
| 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.15 |
| 26-May-2011 |
joerg | branches: 1.15.44; 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.14 |
| 28-May-2007 |
tls | Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
| 1.13 |
| 07-Mar-2003 |
fvdl | This seems to need a -I${.CURDIR} these days.
|
| 1.12 |
| 05-Mar-2003 |
wiz | Move back from gnu/dist/mrouted, now that it's available under a BSD license.
|
| 1.11 |
| 01-Oct-2002 |
itojun | move mrouted out of basesrc, as it carries non-BSD license. agreed w/ core.
|
| 1.10 |
| 04-Jul-2000 |
matt | branches: 1.10.2; More #include <stdlib.h> string, etc. cleanup
|
| 1.9 |
| 06-Jun-1999 |
thorpej | branches: 1.9.8; Use daemon(3) and pidfile(3).
|
| 1.8 |
| 09-Apr-1998 |
tv | .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for, and use smarter creation of the header file.
|
| 1.7 |
| 10-Dec-1995 |
mycroft | Update to mrouted 3.8.
|
| 1.6 |
| 10-Dec-1995 |
mycroft | Update to mrouted 3.8.
|
| 1.5 |
| 09-Oct-1995 |
thorpej | New-style RCS ids.
|
| 1.4 |
| 10-Jul-1995 |
cgd | cfparse.c and y.tab.h should be in CLEANFILES
|
| 1.3 |
| 01-Jun-1995 |
mycroft | Update to multicast 3.5.
|
| 1.2 |
| 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.1 |
| 11-Jan-1994 |
brezak | Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
|
| 1.9.8.1 |
| 01-Oct-2002 |
itojun | Move mrouted out of basesrc, as it carries non-BSD license. Agreed w/ core. Update license terms for rsrr.*, via openbsd.
(itojun)
|
| 1.10.2.1 |
| 07-Dec-2002 |
he | Pull up file removal (requested by itojun in tickets #886, #887, #888): Move mrouted out of basesrc, as it carries a non-BSD license. [itojun, tickets #886, #887, #888]
|
| 1.15.44.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|