ccherrett / oom

The Open Octave Project exists to provide professional level orchestral midi orchestration tools.
http://www.openoctave.org
GNU General Public License v2.0
82 stars 19 forks source link

Build issue #122

Open vdevel opened 11 years ago

vdevel commented 11 years ago

Platform: openBuildService (http://openbuildservice.org)

openoctave fails to compile, compile failure error: [ 312s] /home/abuild/rpmbuild/BUILD/oom-master/oom/liste/editevent.cpp:642:10: error: redeclaration of 'isList i' [ 312s] /home/abuild/rpmbuild/BUILD/oom-master/oom/liste/editevent.cpp:630:24: error: 'iMidiCtrlValList i' previously declared here [ 312s] make[2]: *\ [oom/liste/CMakeFiles/liste.dir/editevent.o] Error 1

7thSin commented 7 years ago

Just change these lines in editevent.cpp at 642:

isList j = sList.begin(); for (; j != sList.end(); ++j) { if (*j == c->name()) break; } if (j == sList.end()) sList.push_back(c->name());

Replace "i" to "j".