Advertisement
Guest User

Untitled

a guest
Jun 5th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. MidiDriver.cpp: In member function ‘void MidiDriver::Open()’:
  2. MidiDriver.cpp:121:9: warning: unused variable ‘x’ [-Wunused-variable]
  3. int x = snd_seq_set_client_pool_output(seq_handle,2000);
  4. ^
  5. MidiDriver.cpp: In member function ‘void MidiDriver::ScheduleDiodeEvent(DiodeType, seqHandle, int, double, int, int, int)’:
  6. MidiDriver.cpp:216:87: error: no matching function for call to ‘make_pair(int&, DiodeMidiEvent&)’
  7. diode_events.insert(std::make_pair<int,DiodeMidiEvent>(diode_event_id_next,diodeev));
  8. ^
  9. In file included from /usr/include/c++/5/bits/stl_algobase.h:64:0,
  10. from /usr/include/c++/5/vector:60,
  11. from global.h:28,
  12. from MidiDriver.cpp:23:
  13. /usr/include/c++/5/bits/stl_pair.h:276:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
  14. make_pair(_T1&& __x, _T2&& __y)
  15. ^
  16. /usr/include/c++/5/bits/stl_pair.h:276:5: note: template argument deduction/substitution failed:
  17. MidiDriver.cpp:216:60: note: cannot convert ‘((MidiDriver*)this)->MidiDriver::diode_event_id_next’ (type ‘int’) to type ‘int&&’
  18. diode_events.insert(std::make_pair<int,DiodeMidiEvent>(diode_event_id_next,diodeev));
  19. ^
  20. Makefile:433: recipe for target 'harmonySEQ-MidiDriver.o' failed
  21. make[2]: *** [harmonySEQ-MidiDriver.o] Error 1
  22. make[2]: Leaving directory '/home/josander/Downloads/post_install/harmonySEQ-0.16/src'
  23. Makefile:263: recipe for target 'all' failed
  24. make[1]: *** [all] Error 2
  25. make[1]: Leaving directory '/home/josander/Downloads/post_install/harmonySEQ-0.16/src'
  26. Makefile:348: recipe for target 'all-recursive' failed
  27. make: *** [all-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement