Build errors with latest commits
-
InteractionDispatcher.cpp:606: error: request for member ‘add’ in ‘mockMenuItems’, which is of non-class type ‘int’ InteractionDispatcher.cpp:611: error: request for member ‘clear’ in ‘mockMenuItems’, which is of non-class type ‘int’ InteractionTestWindow.cpp: error: ‘getVisibleMenuItems’ is not a member of ‘juce::PopupMenu’ InteractionTestWindow.cpp: error: ‘setSyntheticInputMode’ is not a member of ‘juce::PopupMenu’ InteractionTestWindow.cpp: error: ‘VisibleMenuItem’ is not a member of ‘juce::PopupMenu’ InteractionTestWindow.cpp: error: ‘class juce::MouseInputSource’ has no member named ‘setSyntheticPositionMode’ InteractionTestWindow.cpp: error: ‘std::function<juce::ModifierKeys()> juce::ComponentPeer::getNativeRealtimeModifiers’ is protected within this context InteractionTestWindow.cpp: error: template argument 1 is invalid InteractionTestWindow.cpp: error: request for member ‘add’ in ‘localItems’, which is of non-class type ‘int’ RestServer.cpp:367: error: duplicate case value (case DELETE) RestServer.cpp:364: note: previously used here (case GET) RestServer.cpp:445: error: duplicate case value (case DELETE) RestServer.cpp:442: note: previously used here (case GET) -
@David-Healey Most of those errors were just stale files that a
make cleandidn't get rid of, I needed to remove the build folder completely.The error relating to DELETE is caused by one of the include files on Linux systems declaring a DELETE macro and this conflicts with your enum.
A very minimal PR to unset the macro seems to solve it.