From 08a414edfdd5e1d4141a20c2b3bcb2f869c54b1a Mon Sep 17 00:00:00 2001
From: alejoe91 <alejoe9187@gmail.com>
Date: Thu, 19 Jan 2017 16:22:50 +0100
Subject: [PATCH] fix build ubuntu16.10

---
 fix-build-error_gcc6205.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 fix-build-error_gcc6205.txt

diff --git a/fix-build-error_gcc6205.txt b/fix-build-error_gcc6205.txt
new file mode 100644
index 000000000..34cf261da
--- /dev/null
+++ b/fix-build-error_gcc6205.txt
@@ -0,0 +1,11 @@
+Build error when compiling with gcc/g++ 6.2.0-5 (Ubuntu 16.10)
+
+error: ‘long int juce::FlacNamespace::lround(double)’ conflicts with a previous declaration
+static inline long int lround(double x)
+ 
+easy FIX:
+Comment out line 65-67 of: /JuceLibraryCode/modules/juce_format/codecs/flac/libFLAC/lpc_flac.c
+
+/*static inline long int lround(double x) {
+    return (long)(x + copysign (0.5, x));
+}*/
-- 
GitLab