freebsd-dev/share/mk
Dimitry Andric 7b5814e175 Work around two -Werror warning issues in googletest, which have been
solved upstream in the mean time.

The first issue is because one of googletest's generated headers contain
classes with a user-declared copy assignment operator, but rely on the
generation by the compiler of an implicit copy constructor, which is now
deprecated:

/usr/obj/usr/src/amd64.amd64/tmp/usr/include/private/gtest/internal/gtest-param-util-generated.h:5284:8: error: definition of implicit copy constructor for 'CartesianProductHolder3<testing::internal::ParamGenerator<bool>, testing::internal::ValueArray3<int, int, int>, testing::internal::ValueArray4<cache_mode, cache_mode, cache_mode, cache_mode> >' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
  void operator=(const CartesianProductHolder3& other);
       ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/private/gtest/gtest-param-test.h:1277:10: note: in implicit copy constructor for 'testing::internal::CartesianProductHolder3<testing::internal::ParamGenerator<bool>, testing::internal::ValueArray3<int, int, int>, testing::internal::ValueArray4<cache_mode, cache_mode, cache_mode, cache_mode> >' first required here
  return internal::CartesianProductHolder3<Generator1, Generator2, Generator3>(
         ^
/usr/src/tests/sys/fs/fusefs/io.cc:534:2: note: in instantiation of function template specialization 'testing::Combine<testing::internal::ParamGenerator<bool>, testing::internal::ValueArray3<int, int, int>, testing::internal::ValueArray4<cache_mode, cache_mode, cache_mode, cache_mode> >' requested here
        Combine(Bool(),                                 /* async read */
        ^

For now, silence the warning using -Wno-deprecated-copy.

The second issue is because one of the googlemock test programs attempts
to use "unsigned wchar_t" and "signed wchar_t", which are non-standard
and at best, hazily defined:

contrib/googletest/googlemock/test/gmock-actions_test.cc:111:37: error: 'wchar_t' cannot be signed or unsigned [-Wsigned-unsigned-wchar]
  EXPECT_EQ(0U, BuiltInDefaultValue<unsigned wchar_t>::Get());
                                    ^
contrib/googletest/googlemock/test/gmock-actions_test.cc:112:36: error: 'wchar_t' cannot be signed or unsigned [-Wsigned-unsigned-wchar]
  EXPECT_EQ(0, BuiltInDefaultValue<signed wchar_t>::Get());
                                   ^

For now, silence the warning using -Wno-signed-unsigned-wchar.

MFC after:	3 days
2020-01-31 18:26:23 +00:00
..
atf.test.mk Another round of attempting to squelch -Wdeprecated-declarations, which 2019-09-17 06:07:08 +00:00
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
bsd.compat.mk Build hard-float lib32 for mips64hf/mips64elhf 2020-01-27 12:02:47 +00:00
bsd.compiler.mk Use __ as the separator for the exported vars in bsd.compiler/linker.mk 2019-11-15 16:43:36 +00:00
bsd.confs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.cpu.mk Catch up with Clang 9.0. 2020-01-09 20:07:38 +00:00
bsd.crunchgen.mk
bsd.dep.mk Allow per-file lex and yacc options. 2019-11-15 21:19:06 +00:00
bsd.dirs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.doc.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.dtb.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.endian.mk
bsd.files.mk Use ${.ALLSRC:Ninstalldirs-*} instead of assuming order of .ALLSRC 2019-12-10 12:12:48 +00:00
bsd.incs.mk pkgbase: Add tags for includes in bsd.incs.mk 2019-09-05 14:16:39 +00:00
bsd.info.mk
bsd.init.mk Consider *clean targets as non-build targets as well. 2019-07-04 14:51:44 +00:00
bsd.kmod.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.lib.mk pkgbase: move profiling _p.a libs into -development packages 2020-01-16 17:27:08 +00:00
bsd.libnames.mk Introduce stats(3), a flexible statistics gathering API. 2019-10-07 19:05:05 +00:00
bsd.linker.mk Add a new "riscv-relaxations" linker feature. 2019-12-05 19:37:30 +00:00
bsd.links.mk
bsd.man.mk
bsd.mkopt.mk Document logic for __DEFAULT_DEPENDENT_OPTIONS 2019-09-16 00:32:23 +00:00
bsd.nls.mk
bsd.obj.mk
bsd.opts.mk Revert r354909: Make the warning for deprecated NO_ variables an error. 2019-11-22 18:41:09 +00:00
bsd.own.mk Standardize EFI's ESP mount point. 2019-11-20 21:06:29 +00:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Add -mno-relax to CFLAGS in bsd.prog/lib.mk instead of bsd.cpu.mk. 2020-01-08 17:49:34 +00:00
bsd.progs.mk PROGS: Build common sources before recursed PROGS_TARGETS as well when building. 2019-09-04 18:32:11 +00:00
bsd.README Allow bsd.compat.mk to be reliably included outside Makefile.inc1. 2019-10-31 20:37:19 +00:00
bsd.snmpmod.mk Rework some multi-output target dependency handling. 2019-07-19 00:15:25 +00:00
bsd.subdir.mk
bsd.suffixes-posix.mk
bsd.suffixes.mk Similar to r335710 avoid ccache when linking a .cc file directly. 2019-06-15 17:08:18 +00:00
bsd.symver.mk
bsd.sys.mk gcc9: quiet Waddress-of-packed-member for user build 2019-12-21 02:43:49 +00:00
bsd.sysdir.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.test.mk
dirdeps-options.mk
dirdeps-targets.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
dirdeps.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
gendirdeps.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
googletest.test.inc.mk Work around two -Werror warning issues in googletest, which have been 2020-01-31 18:26:23 +00:00
googletest.test.mk
host-target.mk
install-new.mk
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
local.autodep.mk
local.dirdeps-options.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
local.dirdeps.mk Provide libssp based on libc 2020-01-04 20:19:25 +00:00
local.gendirdeps.mk Provide libssp based on libc 2020-01-04 20:19:25 +00:00
local.init.mk
local.meta.sys.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
local.sys.env.mk
local.sys.mk META_MODE: Delete build targets that fail. 2019-06-15 17:08:28 +00:00
Makefile Install bsd.sysdir.mk. 2019-11-21 19:54:10 +00:00
meta2deps.py
meta2deps.sh
meta.autodep.mk
meta.stage.mk
meta.subdir.mk
meta.sys.mk Update dirdeps.mk and gendirdeps.mk 2019-12-11 17:38:15 +00:00
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk Provide libssp based on libc 2020-01-04 20:19:25 +00:00
src.lua.mk Add flua to the base system, install to /usr/libexec 2019-11-18 23:21:13 +00:00
src.opts.mk src.opts.mk: default BINUTILS_BOOTSTRAP to NO except for x86 and powerpc 2020-01-19 19:56:05 +00:00
src.sys.env.mk META_MODE: Allow 'make all install' to work with filemon. 2020-01-17 14:29:27 +00:00
src.sys.mk
src.sys.obj.mk
stage-install.sh
suite.test.mk In suite.test.mk, test if ${DESTDIR} exists before attempting to run 2019-09-25 17:52:59 +00:00
sys.dependfile.mk
sys.mk arm: Use -O2 instead of -O as optimization flag 2019-07-22 10:17:59 +00:00
tap.test.mk
version_gen.awk