Latest linuxsampler svn failed to build (debian)

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
rooz
Newbie
Posts: 20
Joined: Sun Aug 24, 2008 6:42 pm

Latest linuxsampler svn failed to build (debian)

Post by rooz » Sun May 17, 2020 9:24 pm

Code: Select all

                 from lscp.y:34:
../drivers/midi/MidiInstrumentMapper.h:146:120: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  146 |             static void AddOrReplaceEntry(int Map, midi_prog_index_t Index, entry_t Entry, bool bInBackground = false) throw (Exception);
      |                                                                                                                        ^~~~~
../drivers/midi/MidiInstrumentMapper.h:179:73: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  179 |             static std::map<midi_prog_index_t,entry_t> Entries(int Map) throw (Exception);
      |                                                                         ^~~~~
../drivers/midi/MidiInstrumentMapper.h:195:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  195 |             static int AddMap(String MapName = "") throw (Exception) ;
      |                                                    ^~~~~
../drivers/midi/MidiInstrumentMapper.h:203:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  203 |             static String MapName(int Map) throw (Exception);
      |                                            ^~~~~
../drivers/midi/MidiInstrumentMapper.h:213:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  213 |             static void RenameMap(int Map, String NewName) throw (Exception);
      |                                                            ^~~~~
lscp.y: In function ‘void walkAndFillExpectedSymbols(std::vector<short int>&, std::map<std::__cxx11::basic_string<char>, BisonSymbolInfo>&, String&, YYStackHistory&, int)’:
lscp.y:1605:22: error: ‘YYTERROR’ was not declared in this scope; did you mean ‘YYERROR’?
 1605 |         if (token <= YYTERROR) continue;
      |                      ^~~~~~~~
      |                      YYERROR
make[4]: *** [Makefile:459: lscpparser.lo] Error 1
make[4]: Leaving directory '/home/debian/develop/linuxsampler/linuxsampler/src/network'
make[3]: *** [Makefile:699: all-recursive] Error 1
make[3]: Leaving directory '/home/debian/develop/linuxsampler/linuxsampler/src'
make[2]: *** [Makefile:511: all-recursive] Error 1
make[2]: Leaving directory '/home/debian/develop/linuxsampler/linuxsampler'
make[1]: *** [Makefile:416: all] Error 2
make[1]: Leaving directory '/home/debian/develop/linuxsampler/linuxsampler'
make: *** [debian/rules:37: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Debian testing

Post Reply