Trying to build it on Linux, Debian Sid, I got some errors:
In file included from ../../Source/PolyRhythmMachine.cpp:25:
../../Source/PolyRhythmMachine.h:68:10: error: extra qualification ‘PolyRhythmMachine::’ on member ‘handleNoteTrigger’ [-fpermissive]
68 | void PolyRhythmMachine::handleNoteTrigger(juce::MidiBuffer&, int noteNumber, int velocity, int bufferPosition);
| ^~~~~~~~~~~~~~~~~
In file included from ../../Source/PluginProcessor.h:27,
from ../../Source/PluginEditor.cpp:22:
../../Source/PolyRhythmMachine.h:68:10: error: extra qualification ‘PolyRhythmMachine::’ on member ‘handleNoteTrigger’ [-fpermissive]
68 | void PolyRhythmMachine::handleNoteTrigger(juce::MidiBuffer&, int noteNumber, int velocity, int bufferPosition);
| ^~~~~~~~~~~~~~~~~
../../Source/Utilities.cpp: In function ‘int midiStringToInt(std::string)’:
../../Source/Utilities.cpp:148:25: warning: NULL used in arithmetic [-Wpointer-arith]
148 | if (midiValue[0] != NULL) {
| ^~~~
../../Source/Utilities.cpp:153:25: warning: NULL used in arithmetic [-Wpointer-arith]
153 | if (midiValue[1] != NULL) {
| ^~~~
In file included from ../../Source/PluginProcessor.h:27,
from ../../Source/PluginProcessor.cpp:24:
../../Source/PolyRhythmMachine.h:68:10: error: extra qualification ‘PolyRhythmMachine::’ on member ‘handleNoteTrigger’ [-fpermissive]
68 | void PolyRhythmMachine::handleNoteTrigger(juce::MidiBuffer&, int noteNumber, int velocity, int bufferPosition);
| ^~~~~~~~~~~~~~~~~
I need to add -fpermissive compiler flag to be able to build PolyGnome correctly.
Trying to build it on Linux, Debian Sid, I got some errors:
I need to add
-fpermissive
compiler flag to be able to build PolyGnome correctly.