diff --git a/fix-build-error_gcc6205.txt b/fix-build-error_gcc6205.txt new file mode 100644 index 0000000000000000000000000000000000000000..34cf261dacb57dfe31d1917e49b925c453f44f8b --- /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)); +}*/