I’m trying to upgrade to JUCE 5.4.1 on embedded Linux and we’re limited in the GCC and libstdc++ versions we use. With the latest JUCE release, it seems that std::is_trivially_copyable is being used, which is not available in some versions of libstdc++. Are we now going to be stuck on JUCE 5.3.2 until we can use a newer libstdc++ version?
../../JuceLibraryCode/modules/juce_core/containers/juce_ArrayBase.h:375:59: error: ‘is_trivially_copyable’ is not a member of ‘std’
using TriviallyCopyableVoid = typename std::enable_if<std::is_trivially_copyable<T>::value, void>::type;
@eliottparis
I just had the same Problem. I fixed it by going to View>Project Settings and choosing C++11 as the C++ Language Standard. As far as i understand that removes the ambiguity between “make_unique” of the JUCE framework and the “make_unique” of the standard library. After that i clicked File>Save to update the makefile.