<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small">Seems to be hanging on the flac audio format... How to bypass this?</div><div class="gmail_default" style="font-family:georgia,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small">==== Building juce (debug) ====<br>juce_audio_devices.cpp<br>juce_audio_formats.cpp<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:69,<br>                 from juce/modules/juce_audio_formats/juce_audio_formats.cpp:110:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitreader.c: In function ‘void juce::FlacNamespace::crc16_update_word_(FLAC__BitReader*, uint32_t)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitreader.c:95:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>   95 |         register unsigned crc = br-&gt;read_crc16;<br>      |                           ^~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:70:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitwriter.c: In function ‘juce::FlacNamespace::FLAC__bool juce::FlacNamespace::FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter*, FLAC__uint32, unsigned int)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/bitwriter.c:307:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>  307 |         register unsigned left;<br>      |                           ^~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:76:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c: At global scope:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:39: error: ‘long int juce::FlacNamespace::lround(double)’ conflicts with a previous declaration<br>   65 | static inline long int lround(double x) {<br>      |                                       ^<br>In file included from /usr/include/features.h:502,<br>                 from /usr/include/sched.h:22,<br>                 from juce/modules/juce_audio_formats/../juce_core/native/juce_BasicNativeHeaders.h:168,<br>                 from juce/modules/juce_audio_formats/juce_audio_formats.cpp:38:<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: previous declaration ‘long int lround(double)’<br>  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br>      | ^~~~~~~~~~<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c: In function ‘int juce::FlacNamespace::FLAC__lpc_quantize_coefficients(const FLAC__real*, unsigned int, unsigned int, FLAC__int32*, int*)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:218:35: error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&amp;)’ is ambiguous<br>  218 |                         q = lround(error);<br>      |                             ~~~~~~^~~~~~~<br>In file included from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/system/juce_StandardHeader.h:66,<br>                 from juce/modules/juce_audio_formats/../juce_audio_basics/../juce_core/juce_core.h:143,<br>                 from juce/modules/juce_audio_formats/../juce_audio_basics/juce_audio_basics.h:28,<br>                 from juce/modules/juce_audio_formats/juce_audio_formats.h:28,<br>                 from juce/modules/juce_audio_formats/juce_audio_formats.cpp:39:<br>/usr/include/c++/13/cmath:2384:3: note: candidate: ‘constexpr long int std::lround(long double)’<br> 2384 |   lround(long double __x)<br>      |   ^~~~~~<br>/usr/include/c++/13/cmath:2380:3: note: candidate: ‘constexpr long int std::lround(float)’<br> 2380 |   lround(float __x)<br>      |   ^~~~~~<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: candidate: ‘long int lround(double)’<br>  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br>      | ^~~~~~~~~~<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note: candidate: ‘long int juce::FlacNamespace::lround(double)’<br>   65 | static inline long int lround(double x) {<br>      |                        ^~~~~~<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:247:35: error: call of overloaded ‘lround(juce::FlacNamespace::FLAC__double&amp;)’ is ambiguous<br>  247 |                         q = lround(error);<br>      |                             ~~~~~~^~~~~~~<br>/usr/include/c++/13/cmath:2384:3: note: candidate: ‘constexpr long int std::lround(long double)’<br> 2384 |   lround(long double __x)<br>      |   ^~~~~~<br>/usr/include/c++/13/cmath:2380:3: note: candidate: ‘constexpr long int std::lround(float)’<br> 2380 |   lround(float __x)<br>      |   ^~~~~~<br>/usr/include/x86_64-linux-gnu/bits/mathcalls.h:323:1: note: candidate: ‘long int lround(double)’<br>  323 | __MATHDECL (long int,lround,, (_Mdouble_ __x));<br>      | ^~~~~~~~~~<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c:65:24: note: candidate: ‘long int juce::FlacNamespace::lround(double)’<br>   65 | static inline long int lround(double x) {<br>      |                        ^~~~~~<br>In file included from juce/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:77:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c: In function ‘void juce::FlacNamespace::FLAC__MD5Transform(FLAC__uint32*, const FLAC__uint32*)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>   55 |         register FLAC__uint32 a, b, c, d;<br>      |                               ^<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>   55 |         register FLAC__uint32 a, b, c, d;<br>      |                                  ^<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>   55 |         register FLAC__uint32 a, b, c, d;<br>      |                                     ^<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:55:40: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>   55 |         register FLAC__uint32 a, b, c, d;<br>      |                                        ^<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c: In function ‘void juce::FlacNamespace::format_input_(FLAC__byte*, const FLAC__int32* const*, unsigned int, unsigned int, unsigned int)’:<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:276:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>  276 |         register FLAC__int32 a_word;<br>      |                              ^~~~~~<br>juce/modules/juce_audio_formats/codecs/flac/libFLAC/md5.c:277:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]<br>  277 |         register FLAC__byte *buf_ = buf;<br>      |                              ^~~~<br>make[1]: *** [juce.make:168: obj/juce/Debug/juce_audio_formats.o] Error 1<br>make: *** [Makefile:21: juce] Error 2<br></div></div>