Closed cschol closed 4 years ago
float x[N][M] = {0.f};
is invalid C++. Use {{0.f}}
.
That makes more sense.
Another compile failure on Linux:
[FrozenWasteland] Building plugin on platform linux...src/QuadAlgorithmicRhythm.cpp: In member function 'virtual void QuadAlgorithmicRhythm::process(const rack::engine::Module::ProcessArgs&)':
src/QuadAlgorithmicRhythm.cpp:551:50: warning: array subscript is below array bounds [-Warray-bounds]
while(rulerLengths[rulerToUse] + 1 > actualStepCount && rulerToUse >= 0) {
^
src/HairPick.cpp: In constructor 'HairPick::HairPick()':
src/HairPick.cpp:138:13: error: could not convert '0.0f' from 'float' to 'FloatFrame'
HairPick() {
^
src/HairPick.cpp:138:13: error: could not convert '0.0f' from 'float' to 'FloatFrame'
In file included from src/HairPick.cpp:2:0:
src/dsp-delay/delayLine.cpp: In constructor 'constexpr MultiTapDelayLine<FloatFrame, 65>::MultiTapDelayLine()':
src/dsp-delay/delayLine.cpp:118:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
struct MultiTapDelayLine {
^
src/dsp-delay/delayLine.cpp:118:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
src/PortlandWeather.cpp: In constructor 'PortlandWeather::PortlandWeather()':
src/PortlandWeather.cpp:258:20: error: could not convert '0.0f' from 'float' to 'FloatFrame'
PortlandWeather() {
^
src/PortlandWeather.cpp:258:20: error: could not convert '0.0f' from 'float' to 'FloatFrame'
src/HairPick.cpp: In constructor 'HairPick::HairPick()':
src/HairPick.cpp:138:13: note: synthesized method 'constexpr MultiTapDelayLine<FloatFrame, 65>::MultiTapDelayLine()' first required here
HairPick() {
^
make: *** [build/src/HairPick.cpp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/PortlandWeather.cpp:2:0:
src/dsp-delay/delayLine.cpp: In constructor 'constexpr MultiTapDelayLine<FloatFrame, 18>::MultiTapDelayLine()':
src/dsp-delay/delayLine.cpp:118:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
struct MultiTapDelayLine {
^
src/dsp-delay/delayLine.cpp:118:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
src/PortlandWeather.cpp: In constructor 'PortlandWeather::PortlandWeather()':
src/PortlandWeather.cpp:258:20: note: synthesized method 'constexpr MultiTapDelayLine<FloatFrame, 18>::MultiTapDelayLine()' first required here
PortlandWeather() {
^
src/PortlandWeather.cpp:258:20: error: could not convert '0.0f' from 'float' to 'FloatFrame'
src/PortlandWeather.cpp:258:20: error: could not convert '0.0f' from 'float' to 'FloatFrame'
In file included from src/PortlandWeather.cpp:2:0:
src/dsp-delay/delayLine.cpp: In constructor 'constexpr InterpolatedDelay<2048>::InterpolatedDelay()':
src/dsp-delay/delayLine.cpp:73:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
struct InterpolatedDelay {
^
src/dsp-delay/delayLine.cpp:73:8: error: could not convert '0.0f' from 'float' to 'FloatFrame'
src/dsp-delay/delayLine.cpp: In constructor 'GranularPitchShifter::GranularPitchShifter()':
src/dsp-delay/delayLine.cpp:195:8: note: synthesized method 'constexpr InterpolatedDelay<2048>::InterpolatedDelay()' first required here
struct GranularPitchShifter {
^
src/PortlandWeather.cpp: In constructor 'PortlandWeather::PortlandWeather()':
src/PortlandWeather.cpp:258:20: note: synthesized method 'GranularPitchShifter::GranularPitchShifter()' first required here
PortlandWeather() {
^
make: *** [build/src/PortlandWeather.cpp.o] Error 1