Advertisement
dominus

Untitled

Oct 11th, 2020
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. CoreMidiDriver.cpp:162:31: error: no matching function for call to 'operator new'
  2. MIDIPacketList *packetList = new (buf) MIDIPacketList;
  3. ^ ~~~~~
  4. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:220:70: note:
  5. candidate function not viable: no known conversion from
  6. 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to 'void *' for
  7. 2nd argument; take the address of the argument with &
  8. _LIBCPP_NODISCARD_AFTER_CXX17 inline _LIBCPP_INLINE_VISIBILITY void* operator new (std::siz...
  9. ^
  10. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:187:66: note:
  11. candidate function not viable: no known conversion from
  12. 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to
  13. 'const std::nothrow_t' for 2nd argument
  14. _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
  15. ^
  16. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:203:66: note:
  17. candidate function not viable: no known conversion from
  18. 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to
  19. 'std::align_val_t' for 2nd argument
  20. _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
  21. ^
  22. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:186:66: note:
  23. candidate function not viable: requires single argument '__sz', but 2 arguments were provided
  24. _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
  25. ^
  26. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:204:66: note:
  27. candidate function not viable: requires 3 arguments, but 2 were provided
  28. _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement