3 ms·
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 th
by Gibbon1 7y ago
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.
- DerekL 7y agoIt would be nice if the program would abort if a non-void function returns without a value. The only cost would be a slightly larger executable.