fuzz: suppress deprecated-register warnings in our compile
authorAugie Fackler <augie@google.com>
Fri, 06 Dec 2019 15:13:25 -0500
changeset 43829 d1587fadff06
parent 43828 53f582bee3d1
child 43830 bf0453866c80
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
contrib/fuzz/Makefile
--- 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