# HG changeset patch # User Augie Fackler # Date 2019-12-06 20:13:25 # Node ID 28be1932f61f843332de0925497a4e749d4a5ec1 # Parent 7cb99887bcc3d6afad3fb6380bd0180180642a54 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 diff --git a/contrib/fuzz/Makefile b/contrib/fuzz/Makefile --- a/contrib/fuzz/Makefile +++ b/contrib/fuzz/Makefile @@ -3,6 +3,8 @@ CXX = clang++ LIB_FUZZING_ENGINE ?= -lFuzzingEngine +CXXFLAGS += -Wno-deprecated-register + all: bdiff mpatch xdiff pyutil.o: pyutil.cc pyutil.h