how does that patch fix the issue?
it still takes an address of a temporary, just in a way that the
compiler can't detect it anymore.

a correct fix is to copy the value into the original buffer (which
then must be non-const) and not to swap the (incompatible) pointers.
or allocate a global memory buffer, copy the data in and pass that
into the callback but that might complicate freeing the memory again.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to