From a8bdb851eb23b6067e24ad955bb8f499b8348b95 Mon Sep 17 00:00:00 2001 From: Taylor Yu Date: Thu, 26 Jul 2018 12:32:34 -0500 Subject: Don't disable an unsupported compiler warning Conditionalize the pragma that temporarily disables -Wunused-const-variable. Some versions of gcc don't support it. We need to do this because of an apparent bug in some libzstd headers. Fixes bug 26785; bugfix on 0.3.2.11. --- changes/bug26785 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/bug26785 (limited to 'changes/bug26785') diff --git a/changes/bug26785 b/changes/bug26785 new file mode 100644 index 0000000000..e6392fcbdd --- /dev/null +++ b/changes/bug26785 @@ -0,0 +1,4 @@ + o Minor bugfixes (compilation, portability): + - Don't try to use a pragma to temporarily disable + -Wunused-const-variable if the compiler doesn't support it. + Fixes bug 26785; bugfix on 0.3.2.11. -- cgit v1.2.3-54-g00ecf