changeset 43829:d1587fadff06

fuzz: suppress deprecated-register warnings in our compile These come from the Python.h headers still using the `register` keyword and our use of C++17. I think this will go away when we're using Python 3 for our fuzzing, but that can come later. Differential Revision: https://phab.mercurial-scm.org/D7562
author Augie Fackler <augie@google.com>
date Fri, 06 Dec 2019 15:13:25 -0500
parents 53f582bee3d1
children bf0453866c80
files contrib/fuzz/Makefile
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/fuzz/Makefile	Fri Dec 06 15:12:00 2019 -0500
+++ b/contrib/fuzz/Makefile	Fri Dec 06 15:13:25 2019 -0500
@@ -3,6 +3,8 @@
 
 LIB_FUZZING_ENGINE ?= -lFuzzingEngine
 
+CXXFLAGS += -Wno-deprecated-register
+
 all: bdiff mpatch xdiff
 
 pyutil.o: pyutil.cc pyutil.h