Commit Graph

13 Commits

Author SHA1 Message Date
mrg
e469d4c46d 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."
2019-10-13 07:28:04 +00:00
joerg
9b3bb3443b Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00
mrg
174f8a4a36 remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
gmcgarry
8c68c4f018 Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
mrg
2d66b4f2c1 use -Wno-pointer-sign with GCC4. 2006-05-12 01:54:57 +00:00
thorpej
07414356ac Use pidfile(3). 1999-06-06 02:52:16 +00:00
lukem
6d97281944 - compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
  compilation of stuff in common/*). nothing else does this, and it
  meant that mopprobe would have had different behaviour. if this behaviour
  is desired, a workaround can be put in place
1997-10-16 07:36:12 +00:00
christos
0032f58a4b - Move common definitions to Makefile.inc
- Revert change common/os.h -> os.h. From Mats O Jansson.
1997-04-17 21:08:57 +00:00
christos
6c9c784d7f Tyop oplice. 1997-04-16 13:48:46 +00:00
christos
26d7e3ccae Don't need to .PATH: .. or -I${.CURDIR}/common and -I${.CURDIR}; it will
actually break things in the future.
1997-04-16 13:29:57 +00:00
thorpej
fba7d611d2 RCS id police. 1997-03-25 03:06:58 +00:00
christos
af77741020 Makefile cleanups 1997-03-24 22:02:40 +00:00
cjs
8673e0be2e Import of Mats O Jansson's MOP boot program for DEC machines. 1997-03-16 22:23:34 +00:00