Likely answer is, doesn't really cause problems for anyone in practice. Experienced C++ programmers fix warnings.
Also the ABI specifies how to call and get the return value of a function. The long and the short if it is the execution thread doesn't go off the rails if there is a mismatch in expected behavior. Your data may be garbage tho.