-
-
Save minikomi/a1ab33e65715a0f8fc8e5d35fa5a986e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include Makefile_sources | |
CC=/usr/bin/arm-linux-gnueabi-g++-5 | |
CC=g++ | |
CFLAGS= -c -std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -DLINUX_RASPI1 -ggdb -DDEBUGPRINTF -fpermissive | |
CFLAGS= -c -std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -DLINUX_RASPI1 -ggdb -DFIXED -fpermissive -D__VOLCASYNC__ | |
CFLAGS_SDLVERS=-D__SDL12__ | |
CFLAGS= -c -std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -DLINUX_RASPI1 -D__MACOSX_CORE__ -ggdb -DFIXED ${CFLAGS_SDLVERS} -DDEBUG_PRINTF -fpermissive -Wall | |
CFLAGS= -c -std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -DLINUX_RASPI1 -D__MACOSX_CORE__ -ggdb -DFIXED ${CFLAGS_SDLVERS} -DDEBUGPRINTF -fpermissive | |
LDFLAGS=-arch i386 -framework SDL -framework Cocoa -framework Carbon | |
OBJTOLINK=RtAudio.o | |
OBJTOLINK=RtAudio.o RtMidi.o | |
OBJTOLINK=RtAudio.o | |
OBJTOLINK= | |
SOURCES= $(SOURCES_PICOLOOP) \ | |
RtAudio.cpp \ | |
AudioDriverRTAudio.cpp \ | |
SYSTEMLINUX.cpp \ | |
$(SOURCES_PICOSYNTH) \ | |
$(SOURCES_PICODRUM) \ | |
$(SOURCES_DBOPL) \ | |
$(SOURCES_PBSYNTH) \ | |
$(SOURCES_LGPTSAMPLERSYNTH) | |
OBJDIR = raspi1 | |
OBJECTS = $(SOURCES:.cpp=.o) | |
DEPENDENCY = $(SOURCES:.cpp=.d) | |
DEPENDENCYINOBJDIR = $(addprefix $(OBJDIR)/,$(DEPENDENCY)) | |
OBJECTSINOBJDIR = $(addprefix $(OBJDIR)/,$(OBJECTS)) | |
OBJTOLINKINOBJDIR = $(addprefix $(OBJDIR)/,$(OBJTOLINK)) | |
EXECUTABLE=PatternPlayer_raspi1_Rtaudio | |
all: $(DEPENDENCYINOBJDIR) $(SOURCES) $(EXECUTABLE) | |
$(EXECUTABLE): $(DEPENDENCYINOBJDIR) $(OBJECTSINOBJDIR) | |
$(CC) $(OBJTOLINKINOBJDIR) $(OBJECTSINOBJDIR) -o $@ $(LDFLAGS) | |
# the .d file contain the dependency | |
$(OBJDIR)/%.d : %.cpp %.h | |
@[ -d `dirname $@` ] || mkdir -p `dirname $@` | |
$(CC) ${CFLAGS_SDLVERS} -I. -MM $< -o $@ | |
$(OBJDIR)/%.o : %.cpp | |
@[ -d `dirname $@` ] || mkdir -p `dirname $@` | |
$(CC) $(CFLAGS) $< -o $@ | |
# include all the dependency .d file into the makefile | |
# it allow to match change in .h file | |
-include $(DEPENDENCYINOBJDIR) | |
# SYSTEMLINUX.d does have a .h which is SYSTEM.h, so it need a tweaks | |
$(OBJDIR)/SYSTEMLINUX.d:SYSTEMLINUX.cpp | |
[ -d `dirname $@` ] || mkdir -p `dirname $@` | |
$(CC) ${CFLAGS_SDLVERS} -I. -MM $< -o $@ | |
# PatternPlayer.d does have a .h which is system.h | |
PatternPlayer.d:PatternPlayer.cpp | |
[ -d `dirname $@` ] || mkdir -p `dirname $@` | |
$(CC) ${CFLAGS_SDLVERS} -std=c++11 -I. -MM $< -o $@ | |
clean: | |
-rm -f $(OBJECTSINOBJDIR) | |
-rm -f $(DEPENDENCYINOBJDIR) | |
-rm -f $(EXECUTABLE) | |
-rm -f $(DEPENDENCY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make -f Makefile.PatternPlayer_raspi1_RtAudio | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/LgptsamplerUserInterface.cpp -o raspi1/Machine/Lgptsampler/LgptsamplerUserInterface.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/LgptsamplerMachine.cpp -o raspi1/Machine/Lgptsampler/LgptsamplerMachine.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Logger.cpp -o raspi1/Machine/Lgptsampler/Logger.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/DEBSystem.cpp -o raspi1/Machine/Lgptsampler/DEBSystem.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Result.cpp -o raspi1/Machine/Lgptsampler/Result.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SubService.cpp -o raspi1/Machine/Lgptsampler/SubService.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/char.cpp -o raspi1/Machine/Lgptsampler/char.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/ServiceRegistry.cpp -o raspi1/Machine/Lgptsampler/ServiceRegistry.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/TimeService.cpp -o raspi1/Machine/Lgptsampler/TimeService.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Persistent.cpp -o raspi1/Machine/Lgptsampler/Persistent.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Groove.cpp -o raspi1/Machine/Lgptsampler/Groove.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/WavFile.cpp -o raspi1/Machine/Lgptsampler/WavFile.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Status.cpp -o raspi1/Machine/Lgptsampler/Status.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/wildcard.cpp -o raspi1/Machine/Lgptsampler/wildcard.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Config.cpp -o raspi1/Machine/Lgptsampler/Config.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Trace.cpp -o raspi1/Machine/Lgptsampler/Trace.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SRPUpdaters.cpp -o raspi1/Machine/Lgptsampler/SRPUpdaters.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Filters.cpp -o raspi1/Machine/Lgptsampler/Filters.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/VariableContainer.cpp -o raspi1/Machine/Lgptsampler/VariableContainer.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/TablePlayback.cpp -o raspi1/Machine/Lgptsampler/TablePlayback.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/WatchedVariable.cpp -o raspi1/Machine/Lgptsampler/WatchedVariable.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Variable.cpp -o raspi1/Machine/Lgptsampler/Variable.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/Observable.cpp -o raspi1/Machine/Lgptsampler/Observable.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SampleVariable.cpp -o raspi1/Machine/Lgptsampler/SampleVariable.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SamplePool.cpp -o raspi1/Machine/Lgptsampler/SamplePool.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SyncMaster.cpp -o raspi1/Machine/Lgptsampler/SyncMaster.d | |
g++ -D__SDL12__ -I. -MM Machine/Lgptsampler/SampleInstrument.cpp -o raspi1/Machine/Lgptsampler/SampleInstrument.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/PBSynthMachine.cpp -o raspi1/Machine/PBSynth/PBSynthMachine.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/coeff.cpp -o raspi1/Machine/PBSynth/coeff.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/envtab.cpp -o raspi1/Machine/PBSynth/envtab.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/lfotab.cpp -o raspi1/Machine/PBSynth/lfotab.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/osctab.cpp -o raspi1/Machine/PBSynth/osctab.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/echo.cpp -o raspi1/Machine/PBSynth/echo.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/env.cpp -o raspi1/Machine/PBSynth/env.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/filter.cpp -o raspi1/Machine/PBSynth/filter.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/lfo.cpp -o raspi1/Machine/PBSynth/lfo.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/osc.cpp -o raspi1/Machine/PBSynth/osc.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/synthengine.cpp -o raspi1/Machine/PBSynth/synthengine.d | |
g++ -D__SDL12__ -I. -MM Machine/PBSynth/PBSynthUserInterface.cpp -o raspi1/Machine/PBSynth/PBSynthUserInterface.d | |
g++ -D__SDL12__ -I. -MM Machine/Dbopl/DboplMachine.cpp -o raspi1/Machine/Dbopl/DboplMachine.d | |
g++ -D__SDL12__ -I. -MM Machine/Dbopl/hiopl.cpp -o raspi1/Machine/Dbopl/hiopl.d | |
g++ -D__SDL12__ -I. -MM Machine/Dbopl/dbopl.cpp -o raspi1/Machine/Dbopl/dbopl.d | |
g++ -D__SDL12__ -I. -MM Machine/Dbopl/DboplUserInterface.cpp -o raspi1/Machine/Dbopl/DboplUserInterface.d | |
g++ -D__SDL12__ -I. -MM Machine/Picodrum/PicodrumMachine.cpp -o raspi1/Machine/Picodrum/PicodrumMachine.d | |
g++ -D__SDL12__ -I. -MM Machine/Picodrum/PicodrumADSR.cpp -o raspi1/Machine/Picodrum/PicodrumADSR.d | |
g++ -D__SDL12__ -I. -MM Machine/Picodrum/PicodrumVCO.cpp -o raspi1/Machine/Picodrum/PicodrumVCO.d | |
g++ -D__SDL12__ -I. -MM Machine/Picodrum/PicodrumUserInterface.cpp -o raspi1/Machine/Picodrum/PicodrumUserInterface.d | |
g++ -D__SDL12__ -I. -MM Machine/Picosynth/PicosynthMachine.cpp -o raspi1/Machine/Picosynth/PicosynthMachine.d | |
g++ -D__SDL12__ -I. -MM Machine/Picosynth/PicosynthVCO.cpp -o raspi1/Machine/Picosynth/PicosynthVCO.d | |
g++ -D__SDL12__ -I. -MM Machine/Picosynth/PicosynthADSR.cpp -o raspi1/Machine/Picosynth/PicosynthADSR.d | |
g++ -D__SDL12__ -I. -MM Machine/Picosynth/PicosynthUserInterface.cpp -o raspi1/Machine/Picosynth/PicosynthUserInterface.d | |
[ -d `dirname raspi1/SYSTEMLINUX.d` ] || mkdir -p `dirname raspi1/SYSTEMLINUX.d` | |
g++ -D__SDL12__ -I. -MM SYSTEMLINUX.cpp -o raspi1/SYSTEMLINUX.d | |
g++ -D__SDL12__ -I. -MM AudioDriverRTAudio.cpp -o raspi1/AudioDriverRTAudio.d | |
g++ -D__SDL12__ -I. -MM RtAudio.cpp -o raspi1/RtAudio.d | |
g++ -D__SDL12__ -I. -MM WaveFileWriter.cpp -o raspi1/WaveFileWriter.d | |
g++ -D__SDL12__ -I. -MM MachineCheck.cpp -o raspi1/MachineCheck.d | |
g++ -D__SDL12__ -I. -MM UserInterface.cpp -o raspi1/UserInterface.d | |
g++ -D__SDL12__ -I. -MM TweakableKnob.cpp -o raspi1/TweakableKnob.d | |
g++ -D__SDL12__ -I. -MM PitchBend.cpp -o raspi1/PitchBend.d | |
g++ -D__SDL12__ -I. -MM NoteFreq.cpp -o raspi1/NoteFreq.d | |
g++ -D__SDL12__ -I. -MM SongSequencer.cpp -o raspi1/SongSequencer.d | |
g++ -D__SDL12__ -I. -MM PatternSequencer.cpp -o raspi1/PatternSequencer.d | |
g++ -D__SDL12__ -I. -MM Sequencer.cpp -o raspi1/Sequencer.d | |
g++ -D__SDL12__ -I. -MM PatternReader.cpp -o raspi1/PatternReader.d | |
g++ -D__SDL12__ -I. -MM Pattern.cpp -o raspi1/Pattern.d | |
g++ -D__SDL12__ -I. -MM PatternElement.cpp -o raspi1/PatternElement.d | |
g++ -D__SDL12__ -I. -MM Generator.cpp -o raspi1/Generator.d | |
g++ -D__SDL12__ -I. -MM WaveTable.cpp -o raspi1/WaveTable.d | |
g++ -D__SDL12__ -I. -MM WaveTableManager.cpp -o raspi1/WaveTableManager.d | |
g++ -D__SDL12__ -I. -MM EffectDisabled.cpp -o raspi1/EffectDisabled.d | |
g++ -D__SDL12__ -I. -MM EffectDelay.cpp -o raspi1/EffectDelay.d | |
g++ -D__SDL12__ -I. -MM Effect.cpp -o raspi1/Effect.d | |
g++ -D__SDL12__ -I. -MM AMSynthLowPassFilter.cpp -o raspi1/AMSynthLowPassFilter.d | |
g++ -D__SDL12__ -I. -MM Filter.cpp -o raspi1/Filter.d | |
g++ -D__SDL12__ -I. -MM InputManager.cpp -o raspi1/InputManager.d | |
g++ -D__SDL12__ -I. -MM MonoMixer.cpp -o raspi1/MonoMixer.d | |
g++ -D__SDL12__ -I. -MM Machine.cpp -o raspi1/Machine.d | |
g++ -D__SDL12__ -I. -MM Wave.cpp -o raspi1/Wave.d | |
g++ -D__SDL12__ -I. -MM AudioMixer.cpp -o raspi1/AudioMixer.d | |
g++ -D__SDL12__ -I. -MM Biquad.cpp -o raspi1/Biquad.d | |
g++ -D__SDL12__ -I. -MM OneOscillator.cpp -o raspi1/OneOscillator.d | |
g++ -D__SDL12__ -I. -MM Oscillator.cpp -o raspi1/Oscillator.d | |
g++ -D__SDL12__ -I. -MM AudioEngine.cpp -o raspi1/AudioEngine.d | |
g++ -D__SDL12__ -I. -MM SDL_GUI.cpp -o raspi1/SDL_GUI.d | |
g++ -D__SDL12__ -I. -MM PatternPlayer.cpp -o raspi1/PatternPlayer.d | |
g++ -c -std=c++11 -O3 -D__LINUX__ -DLINUX -I. -LSDL/lib -D__RTAUDIO__ -DLINUX_RASPI1 -D__MACOSX_CORE__ -ggdb -DFIXED -D__SDL12__ -DDEBUGPRINTF -fpermissive PatternPlayer.cpp -o raspi1/PatternPlayer.o | |
clang: warning: argument unused during compilation: '-LSDL/lib' [-Wunused-command-line-argument] | |
PatternPlayer.cpp:1:17: warning: using directive refers to implicitly-defined namespace 'std' | |
using namespace std; | |
^ | |
PatternPlayer.cpp:744:20: error: assigning to 'char *' from incompatible type 'const char *' | |
line1_to_process=SAM->getMachineParamCharStar(machineParam1,PET.get(machineParam1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:785:20: error: assigning to 'char *' from incompatible type 'const char *' | |
line1_to_process=SAM->getMachineParamCharStar(machineParam1,P[cty].getPatternElement(i+pattern_display_offset[cty]).get(machineParam1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:786:20: error: assigning to 'char *' from incompatible type 'const char *' | |
line2_to_process=SAM->getMachineParamCharStar(machineParam2,P[cty].getPatternElement(i+pattern_display_offset[cty]).get(machineParam2)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:928:20: error: assigning to 'char *' from incompatible type 'const char *' | |
line1_to_process=SAM->getMachineParamCharStar(machineParam1, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:931:20: error: assigning to 'char *' from incompatible type 'const char *' | |
line2_to_process=SAM->getMachineTwoParamCharStar(machineParam2, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2335:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
if ((menu==MENU_OFF && menu_cursor==GLOBALMENU_AD || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ | |
PatternPlayer.cpp:2335:23: note: place parentheses around the '&&' expression to silence this warning | |
if ((menu==MENU_OFF && menu_cursor==GLOBALMENU_AD || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2336:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_NOTE || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2336:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_NOTE || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2337:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_VCO || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2337:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_VCO || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2338:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_OSC || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2338:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_OSC || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2339:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_MAC || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2339:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_MAC || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2340:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_LFO || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2340:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_LFO || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2341:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_FLTR || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2341:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_FLTR || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2342:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_BPM || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2342:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_BPM || | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2343:23: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_FX | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:2343:23: note: place parentheses around the '&&' expression to silence this warning | |
menu==MENU_OFF && menu_cursor==GLOBALMENU_FX | |
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PatternPlayer.cpp:3821:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] | |
else | |
^ | |
11 warnings and 5 errors generated. | |
make: *** [raspi1/PatternPlayer.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment