From e47900f7ecce2e6991b9ba7dda5d2fbc9857d4c7 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Mon, 7 May 2018 17:16:31 +0800 Subject: [PATCH] fix compilation warning of pmh_parser on Windows --- peg-highlight/pmh_parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/peg-highlight/pmh_parser.h b/peg-highlight/pmh_parser.h index d57a1732..78086cab 100644 --- a/peg-highlight/pmh_parser.h +++ b/peg-highlight/pmh_parser.h @@ -5,7 +5,9 @@ * pmh_parser.h */ +#ifdef Q_CC_GNU #pragma GCC diagnostic ignored "-Wunused-parameter" +#endif /** \file * \brief Parser public interface.