Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CoreMidiDriver.cpp:162:31: error: no matching function for call to 'operator new'
- MIDIPacketList *packetList = new (buf) MIDIPacketList;
- ^ ~~~~~
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:220:70: note:
- candidate function not viable: no known conversion from
- 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to 'void *' for
- 2nd argument; take the address of the argument with &
- _LIBCPP_NODISCARD_AFTER_CXX17 inline _LIBCPP_INLINE_VISIBILITY void* operator new (std::siz...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:187:66: note:
- candidate function not viable: no known conversion from
- 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to
- 'const std::nothrow_t' for 2nd argument
- _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:203:66: note:
- candidate function not viable: no known conversion from
- 'std::aligned_storage<sizeof(MIDIPacketList) + 128, alignof(MIDIPacketList)>' to
- 'std::align_val_t' for 2nd argument
- _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:186:66: note:
- candidate function not viable: requires single argument '__sz', but 2 arguments were provided
- _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
- ^
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:204:66: note:
- candidate function not viable: requires 3 arguments, but 2 were provided
- _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement