Skip to content

Commit 08a414e

Browse files
committed
fix build ubuntu16.10
1 parent 9477167 commit 08a414e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

fix-build-error_gcc6205.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Build error when compiling with gcc/g++ 6.2.0-5 (Ubuntu 16.10)
2+
3+
error: ‘long int juce::FlacNamespace::lround(double)’ conflicts with a previous declaration
4+
static inline long int lround(double x)
5+
6+
easy FIX:
7+
Comment out line 65-67 of: /JuceLibraryCode/modules/juce_format/codecs/flac/libFLAC/lpc_flac.c
8+
9+
/*static inline long int lround(double x) {
10+
return (long)(x + copysign (0.5, x));
11+
}*/

0 commit comments

Comments
 (0)