This is using develop-local of your JUCE fork, and master of juce_organicui. I get similar results with Clang, only quite a bit more warnings.
[main] Building folder: LaMoucheFolle
[main] Configuring folder: LaMoucheFolle
[cmake] The CXX compiler identification is GNU 7.5.0
[cmake] The C compiler identification is GNU 7.5.0
[cmake] Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++-7
[cmake] Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++-7 -- works
[cmake] Detecting CXX compiler ABI info
[cmake] Detecting CXX compiler ABI info - done
[cmake] Detecting CXX compile features
[cmake] Detecting CXX compile features - done
[cmake] Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc-7
[cmake] Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc-7 -- works
[cmake] Detecting C compiler ABI info
[cmake] Detecting C compiler ABI info - done
[cmake] Detecting C compile features
[cmake] Detecting C compile features - done
[cmake] Generator .............. Ninja
[cmake] Build Type ............. Debug
[cmake] AppVersion ............. 3.0.2
[cmake] Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
[cmake] Checking for modules 'libusb-1.0;alsa;x11;xinerama;xext;freetype2;webkit2gtk-4.0;gtk+-x11-3.0;libcurl'
[cmake] Found libusb-1.0, version 1.0.21
[cmake] Found alsa, version 1.1.3
[cmake] Found x11, version 1.6.4
[cmake] Found xinerama, version 1.1.3
[cmake] Found xext, version 1.3.3
[cmake] Found freetype2, version 21.0.15
[cmake] Found webkit2gtk-4.0, version 2.26.4
[cmake] Found gtk+-x11-3.0, version 3.22.30
[cmake] Found libcurl, version 7.58.0
[cmake] Configuring done
[cmake] Generating done
[build] Starting build
[proc] Executing command: /opt/cmake-3.13.1-Linux-x86_64/bin/cmake --build /home/joel/git/LaMoucheFolle/build --config Debug --target all -- -j 10
[build] [1/2 0% :: 0.000] Re-checking globbed directories...
[build] [1/48 2% :: 0.005] Completed 'juce'
[build] [2/48 4% :: 0.025] Completed 'organicui'
[build] [12/48 6% :: 11.695] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Radio/CFPacket.cpp.o
[build] [13/48 8% :: 12.342] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Radio/CFLog.cpp.o
[build] [14/48 10% :: 12.490] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Main.cpp.o
[build] [15/48 12% :: 12.500] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Controller/Controller.cpp.o
[build] [16/48 14% :: 12.538] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Radio/CFRadioManager.cpp.o
[build] [17/48 16% :: 12.558] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Radio/CFParam.cpp.o
[build] [18/48 18% :: 12.942] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Controller/OSCController.cpp.o
[build] [19/48 20% :: 13.049] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Radio/CFCommand.cpp.o
[build] [20/48 22% :: 13.563] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/MainComponent.cpp.o
[build] [21/48 25% :: 14.306] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Controller/ControllerManager.cpp.o
[build] [22/48 27% :: 24.394] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Engine/CFSettings.cpp.o
[build] [23/48 29% :: 24.527] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/Deck/DeckParamManager.cpp.o
[build] [24/48 31% :: 24.662] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/Deck/DeckParam.cpp.o
[build] [25/48 33% :: 24.667] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/Deck/Deck.cpp.o
[build] [26/48 35% :: 25.067] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/UI/CFAssetManager.cpp.o
[build] [27/48 37% :: 25.433] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/CrazyflieUSB.cpp.o
[build] [28/48 39% :: 25.493] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/Crazyradio.cpp.o
[build] [29/48 41% :: 25.584] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/Drone.cpp.o
[build] [30/48 43% :: 25.908] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/crtp.cpp.o
[build] [31/48 45% :: 26.068] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/ITransport.cpp.o
[build] [32/48 47% :: 26.251] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/USBDevice.cpp.o
[build] [33/48 50% :: 26.680] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/Deck/DeckManager.cpp.o
[build] [34/48 52% :: 26.961] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Controller/ui/ControllerManagerUI.cpp.o
[build] [35/48 54% :: 27.252] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Engine/CFEngine.cpp.o
[build] [36/48 56% :: 27.457] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Controller/ui/ControllerUI.cpp.o
[build] [37/48 58% :: 28.042] Building CXX object CMakeFiles/LaMoucheFolle.dir/External/crazyflie_cpp/src/Crazyflie.cpp.o
[build] [38/48 60% :: 29.018] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/BinaryData.cpp.o
[build] [39/48 62% :: 29.499] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/DroneManager.cpp.o
[build] [40/48 64% :: 33.945] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_data_structures.cpp.o
[build] [41/48 66% :: 34.195] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_events.cpp.o
[build] [42/48 68% :: 35.922] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/Drone2DViewUI.cpp.o
[build] [43/48 70% :: 37.478] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/DroneGridUI.cpp.o
[build] [44/48 72% :: 38.135] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Engine/ui/CFSettingsUI.cpp.o
[build] [45/48 75% :: 39.410] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/DroneUI.cpp.o
[build] [46/48 77% :: 39.897] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/DroneManagerUI.cpp.o
[build] [47/48 79% :: 40.081] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/Drone2DViewManagerUI.cpp.o
[build] [47/48 81% :: 40.387] Building CXX object CMakeFiles/LaMoucheFolle.dir/Source/Drone/ui/DroneManagerGridUI.cpp.o
[build] [47/48 83% :: 42.854] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_core.cpp.o
[build] [47/48 85% :: 43.943] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_osc.cpp.o
[build] [47/48 87% :: 46.675] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_gui_extra.cpp.o
[build] [47/48 89% :: 47.329] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_opengl.cpp.o
[build] [47/48 91% :: 48.110] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_graphics.cpp.o
[build] [47/48 93% :: 49.762] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui.cpp.o
[build] FAILED: CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui.cpp.o
[build] /usr/bin/x86_64-linux-gnu-g++-7 -DJUCE_APP_VERSION=3.0.2 -DJUCE_APP_VERSION_HEX=0x030002 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_VST=0 -I../JuceLibraryCode -Ijuce/modules -I../Source -I../External/crazyflie_cpp/include/crazyflie_cpp -I../External/crazyflie_cpp/include -I../External/libusb/include -I/usr/include/libusb-1.0 -I/usr/include/alsa -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/x86_64-linux-gnu -g -MD -MT CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui.cpp.o -MF CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui.cpp.o.d -o CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui.cpp.o -c ../JuceLibraryCode/include_juce_organicui.cpp
[build] In file included from juce/modules/juce_organicui/juce_organicui.cpp:34:0,
[build] from ../JuceLibraryCode/include_juce_organicui.cpp:9:
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp: In member function ‘const juce::Colour ColorParameter::getColor()’:
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp:42:20: error: missing template arguments before ‘lock’
[build] GenericScopedLock lock(valueSetLock);
[build] ^~~~
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp: In member function ‘virtual juce::var ColorParameter::getLerpValueTo(juce::var, float)’:
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp:100:20: error: missing template arguments before ‘lock’
[build] GenericScopedLock lock(valueSetLock);
[build] ^~~~
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp: In member function ‘virtual void ColorParameter::setWeightedValue(juce::Array<juce::var>, juce::Array<float>)’:
[build] juce/modules/juce_organicui/controllable/parameter/ColorParameter.cpp:117:21: error: missing template arguments before ‘lock’
[build] GenericScopedLock lock(valueSetLock);
[build] ^~~~
[build] In file included from juce/modules/juce_organicui/juce_organicui.cpp:40:0,
[build] from ../JuceLibraryCode/include_juce_organicui.cpp:9:
[build] juce/modules/juce_organicui/controllable/parameter/Parameter.cpp: In member function ‘virtual void Parameter::setValue(juce::var, bool, bool, bool)’:
[build] juce/modules/juce_organicui/controllable/parameter/Parameter.cpp:153:21: error: missing template arguments before ‘lock’
[build] GenericScopedLock lock(valueSetLock);
[build] ^~~~
[build] [47/48 95% :: 54.960] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_organicui2.cpp.o
[build] [47/48 97% :: 56.555] Building CXX object CMakeFiles/LaMoucheFolle.dir/JuceLibraryCode/include_juce_gui_basics.cpp.o
[build] ninja: build stopped: subcommand failed.
[build] Build finished with exit code 1