That is an excellent workaround, but it is overwritten if you sync libraries.
Compilation error for patch string outlets (patch/outlet string)
My solution is a little more complicated, but it won't be overwritten by library sync.
I would really love to add it to my lib objects, but it seems that the directory were is the file determines if it is an outlet (@johannes ?).
Adding a cast to the assignment to remove the "const", as above (or better yet, removing the "const" from the declaration of inlet_outlet), is really the correct fix - the #pragma based approach just tells the compiler to ignore the issue. You could keep a copy of the file with the fix outside the Axoloti library folder tree and copy it over the updated file back after each update, at least until a proper fix is done upstream. Kind of a pain, and you really should check to make sure the only difference between the file you are copying and the one you are replacing is the change you made to avoid missing actual upstream fixes, but it would be a bit easier than re-editing the file each time...
My $0.02 (Canadian),
John
I did objects to send/receive strings all over the patcher, it also works inside a subpatcher.
it's at rbrt/patching/send string
the syntax to acces a sender from a receiver inside a subpatch is
../sender
I've not tested whether it works to send strings from inside subpatch to
a receiver in a main patch,though.
cheers R
This error still persists, can someone (@johannes @thetechnobear) please accept the fix on repo?