mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
googletest: Silence warnings about deprecated implicit copy constructors
Our copy of googletest is rather stale, and causes a number of -Werror
warnings about implicit copy constructor definitions being deprecated,
because several classes have user-declared copy assignment operators.
Silence the warnings until we either upgrade or remove googletest.
(cherry picked from commit d396c67f26)
This commit is contained in:
parent
606d2063db
commit
38a2bbfa12
1 changed files with 3 additions and 0 deletions
|
|
@ -10,3 +10,6 @@ CXXFLAGS+= ${GTESTS_FLAGS}
|
|||
|
||||
# Silence warnings about usage of deprecated std::auto_ptr
|
||||
CXXWARNFLAGS+= -Wno-deprecated-declarations
|
||||
|
||||
# Silence warnings about usage of deprecated implicit copy constructors
|
||||
CXXWARNFLAGS+= -Wno-deprecated-copy
|
||||
|
|
|
|||
Loading…
Reference in a new issue