Skip to content

Instantly share code, notes, and snippets.

@polyzium
Created February 24, 2018 11:00
Show Gist options
  • Save polyzium/00375add6716111d73d813b33d5f121c to your computer and use it in GitHub Desktop.
Save polyzium/00375add6716111d73d813b33d5f121c to your computer and use it in GitHub Desktop.
Makefile:8: warning: overriding recipe for target 'dist'
../../plugin.mk:39: warning: ignoring old recipe for target 'dist'
g++ -Wsuggest-override -std=c++11 -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/Seq_Triad.cpp.o src/Seq_Triad.cpp
In file included from src/Seq_Triad.cpp:2:0:
src/mscHack_Controls.hpp:1937:1: error: expected class-name before ‘{’ token
{
^
src/mscHack_Controls.hpp: In constructor ‘MySlider_01::MySlider_01()’:
src/mscHack_Controls.hpp:1942:3: error: ‘maxHandlePos’ was not declared in this scope
maxHandlePos = Vec(0, -4).plus(margin);
^~~~~~~~~~~~
src/mscHack_Controls.hpp:1943:3: error: ‘minHandlePos’ was not declared in this scope
minHandlePos = Vec(0, 33).plus(margin);
^~~~~~~~~~~~
src/mscHack_Controls.hpp:1945:9: error: ‘background’ was not declared in this scope
background->svg = SVG::load(assetPlugin(plugin,"res/mschack_sliderBG_01.svg"));
^~~~~~~~~~
src/mscHack_Controls.hpp:1945:9: note: suggested alternative: ‘bndBackground’
background->svg = SVG::load(assetPlugin(plugin,"res/mschack_sliderBG_01.svg"));
^~~~~~~~~~
bndBackground
src/mscHack_Controls.hpp:1948:3: error: ‘box’ was not declared in this scope
box.size = background->box.size.plus(margin.mult(2));
^~~
src/mscHack_Controls.hpp:1950:9: error: ‘handle’ was not declared in this scope
handle->svg = SVG::load(assetPlugin(plugin,"res/mschack_sliderKNOB_01.svg"));
^~~~~~
src/mscHack_Controls.hpp:1950:9: note: suggested alternative: ‘rand_r’
handle->svg = SVG::load(assetPlugin(plugin,"res/mschack_sliderKNOB_01.svg"));
^~~~~~
rand_r
src/Seq_Triad.cpp: In constructor ‘Seq_Triad_Widget::Seq_Triad_Widget()’:
src/Seq_Triad.cpp:405:36: error: no matching function for call to ‘rack::ModuleWidget::ModuleWidget()’
Seq_Triad_Widget::Seq_Triad_Widget()
^
In file included from ../../include/rack.hpp:9:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/app.hpp:63:2: note: candidate: rack::ModuleWidget::ModuleWidget(rack::Module*)
ModuleWidget(Module *module);
^~~~~~~~~~~~
../../include/app.hpp:63:2: note: candidate expects 1 argument, 0 provided
../../include/app.hpp:53:8: note: candidate: rack::ModuleWidget::ModuleWidget(const rack::ModuleWidget&)
struct ModuleWidget : OpaqueWidget {
^~~~~~~~~~~~
../../include/app.hpp:53:8: note: candidate expects 1 argument, 0 provided
src/Seq_Triad.cpp:409:2: error: ‘setModule’ was not declared in this scope
setModule(module);
^~~~~~~~~
src/Seq_Triad.cpp:409:2: note: suggested alternative: ‘setlocale’
setModule(module);
^~~~~~~~~
setlocale
src/Seq_Triad.cpp:430:124: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Stp]’ is deprecated [-Wdeprecated-declarations]
Stp>( Vec( x, y ), module, Seq_Triad::PARAM_STEP_NUM + stp, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:431:123: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<DarkRedValueLight>]’ is deprecated [-Wdeprecated-declarations]
alueLight>>( Vec( x + 1, y + 2 ), module, Seq_Triad::LIGHT_STEP_NUM + stp ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:438:117: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Pause]’ is deprecated [-Wdeprecated-declarations]
utton_Pause>(Vec( 45, 48 ), module, Seq_Triad::PARAM_PAUSE, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:439:103: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<rack::RedLight>]’ is deprecated [-Wdeprecated-declarations]
llLight<RedLight>>( Vec( 45 + 1, 48 + 2 ), module, Seq_Triad::LIGHT_PAUSE ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:446:99: warning: ‘TPort* rack::createInput(rack::Vec, rack::Module*, int) [with TPort = MyPortInSmall]’ is deprecated [-Wdeprecated-declarations]
<MyPortInSmall>( Vec( x - 30, y - 3 ), module, Seq_Triad::IN_PATTERN_TRIG ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:61:19: note: declared here
DEPRECATED TPort *createInput(Vec pos, Module *module, int inputId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:451:124: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Pat]’ is deprecated [-Wdeprecated-declarations]
Pat>( Vec( x, y ), module, Seq_Triad::PARAM_PATTERNS + pat, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:452:117: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<OrangeValueLight>]’ is deprecated [-Wdeprecated-declarations]
angeValueLight>>( Vec( x + 1, y + 2 ), module, Seq_Triad::LIGHT_PAT + pat ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:471:134: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Trig]’ is deprecated [-Wdeprecated-declarations]
>( Vec( x, y - 15 ), module, Seq_Triad::PARAM_TRIGOFF + kb, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:472:110: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<rack::RedLight>]’ is deprecated [-Wdeprecated-declarations]
ight<RedLight>>( Vec( x + 1, y - 13 ), module, Seq_Triad::LIGHT_TRIG + kb ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:475:117: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Yellow1_Tiny]’ is deprecated [-Wdeprecated-declarations]
>( Vec( 120, y - 17 ), module, Seq_Triad::PARAM_GLIDE + kb, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:481:151: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MyOCTButton]’ is deprecated [-Wdeprecated-declarations]
odule, Seq_Triad::PARAM_OCTAVES + ( kb * nOCTAVESEL) + oct, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:482:140: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<CyanValueLight>]’ is deprecated [-Wdeprecated-declarations]
( x + 1, y -15 ), module, Seq_Triad::LIGHT_OCT + (kb * nOCTAVESEL ) + oct ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:496:169: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Phrase]’ is deprecated [-Wdeprecated-declarations]
eq_Triad::PARAM_PHRASE_SAVES + ( kb * nPHRASE_SAVES) + pat, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:497:149: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<rack::YellowLight>]’ is deprecated [-Wdeprecated-declarations]
69 + 2 ), module, Seq_Triad::LIGHT_PHRASE + ( kb * nPHRASE_SAVES ) + pat ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:505:166: warning: ‘TParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float) [with TParamWidget = Seq_Triad::MySquareButton_Used]’ is deprecated [-Wdeprecated-declarations]
Seq_Triad::PARAM_PHRASE_USED + ( kb * nPHRASE_SAVES) + pat, 0.0, 1.0, 0.0 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:49:26: note: declared here
DEPRECATED TParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
src/Seq_Triad.cpp:506:157: warning: ‘TModuleLightWidget* rack::createLight(rack::Vec, rack::Module*, int) [with TModuleLightWidget = rack::SmallLight<CyanValueLight>]’ is deprecated [-Wdeprecated-declarations]
2 ), module, Seq_Triad::LIGHT_PHRASE_USED + ( kb * nPHRASE_SAVES ) + pat ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:83:32: note: declared here
DEPRECATED TModuleLightWidget *createLight(Vec pos, Module *module, int firstLightId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:513:46: warning: ‘TScrew* rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew<ScrewSilver>(Vec(15, 0)));
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew *createScrew(Vec pos) {
^~~~~~~~~~~
src/Seq_Triad.cpp:514:57: warning: ‘TScrew* rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 0)));
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew *createScrew(Vec pos) {
^~~~~~~~~~~
src/Seq_Triad.cpp:515:48: warning: ‘TScrew* rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew<ScrewSilver>(Vec(15, 365)));
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew *createScrew(Vec pos) {
^~~~~~~~~~~
src/Seq_Triad.cpp:516:59: warning: ‘TScrew* rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 365)));
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew *createScrew(Vec pos) {
^~~~~~~~~~~
src/Seq_Triad.cpp:521:89: warning: ‘TPort* rack::createInput(rack::Vec, rack::Module*, int) [with TPort = MyPortInSmall]’ is deprecated [-Wdeprecated-declarations]
nput<MyPortInSmall>( Vec( x, y ), module, Seq_Triad::IN_PROG_CHANGE ) ); x += 32;
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:61:19: note: declared here
DEPRECATED TPort *createInput(Vec pos, Module *module, int inputId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:522:93: warning: ‘TPort* rack::createInput(rack::Vec, rack::Module*, int) [with TPort = MyPortInSmall]’ is deprecated [-Wdeprecated-declarations]
<MyPortInSmall>( Vec( x, y ), module, Seq_Triad::IN_PROG_CHANGE + 1 ) ); x += 32;
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:61:19: note: declared here
DEPRECATED TPort *createInput(Vec pos, Module *module, int inputId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:523:93: warning: ‘TPort* rack::createInput(rack::Vec, rack::Module*, int) [with TPort = MyPortInSmall]’ is deprecated [-Wdeprecated-declarations]
eInput<MyPortInSmall>( Vec( x, y ), module, Seq_Triad::IN_PROG_CHANGE + 2 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:61:19: note: declared here
DEPRECATED TPort *createInput(Vec pos, Module *module, int inputId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:526:89: warning: ‘TPort* rack::createInput(rack::Vec, rack::Module*, int) [with TPort = MyPortInSmall]’ is deprecated [-Wdeprecated-declarations]
reateInput<MyPortInSmall>( Vec( 40, 360 ), module, Seq_Triad::IN_VOCT_OFF ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:61:19: note: declared here
DEPRECATED TPort *createInput(Vec pos, Module *module, int inputId) {
^~~~~~~~~~~
src/Seq_Triad.cpp:531:87: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
t(createOutput<MyPortOutSmall>( Vec( x, y ), module, Seq_Triad::OUT_VOCTS ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp:532:91: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
eateOutput<MyPortOutSmall>( Vec( x, y + 50 ), module, Seq_Triad::OUT_TRIG ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp:534:91: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
eateOutput<MyPortOutSmall>( Vec( x, y ), module, Seq_Triad::OUT_VOCTS + 1 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp:535:95: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
Output<MyPortOutSmall>( Vec( x, y + 50 ), module, Seq_Triad::OUT_TRIG + 1 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp:537:91: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
eateOutput<MyPortOutSmall>( Vec( x, y ), module, Seq_Triad::OUT_VOCTS + 2 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp:538:95: warning: ‘TPort* rack::createOutput(rack::Vec, rack::Module*, int) [with TPort = MyPortOutSmall]’ is deprecated [-Wdeprecated-declarations]
Output<MyPortOutSmall>( Vec( x, y + 50 ), module, Seq_Triad::OUT_TRIG + 2 ) );
^
In file included from src/mscHack.hpp:1:0,
from src/Seq_Triad.cpp:1:
../../include/rack.hpp:72:19: note: declared here
DEPRECATED TPort *createOutput(Vec pos, Module *module, int outputId) {
^~~~~~~~~~~~
src/Seq_Triad.cpp: In member function ‘virtual void Seq_Triad::randomize()’:
src/Seq_Triad.cpp:598:29: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
basekey = (int)(randomf() * 24.4);
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
src/Seq_Triad.cpp:599:26: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
oct = (int)( randomf() * 3.4 );
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
src/Seq_Triad.cpp:607:29: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
if( randomf() > 0.7 )
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
src/Seq_Triad.cpp:608:63: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
note = keyscalenotes_minor[ (int)(randomf() * 7.4 ) ];
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
src/Seq_Triad.cpp:610:57: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
note = keyscalenotes[ (int)(randomf() * 7.4 ) ];
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
src/Seq_Triad.cpp:612:76: warning: ‘float rack::randomf()’ is deprecated [-Wdeprecated-declarations]
m_PatternNotes[ kb ][ phrase ][ pat ].bTrigOff = ( randomf() < 0.10 );
^
In file included from ../../include/rack.hpp:4:0,
from src/mscHack.hpp:1,
from src/Seq_Triad.cpp:1:
../../include/util/common.hpp:85:25: note: declared here
inline float DEPRECATED randomf() {return randomUniform();}
^~~~~~~
make: *** [../../compile.mk:57: build/src/Seq_Triad.cpp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment