Suppress control reaches end of non-void function in io.h - #2057
Conversation
|
We're testing a field Lines 57 to 108 in 24abc41 In modern day desktops there's not really a type for a byte sized float. I'm gonna cast up to float32 every time the size is equal or inferior to 4bytes. |
|
Sergio, can you provide a bit more context? Are you solving some issue that has been identified before? Or regression? |
|
The story so far:
|
|
Thanks for the explanation. This is a truly curious find! |
|
Oh... true... this conversion is not handled by the compiler. So after digging a little bit more I found out that fields with the name |
|
We can also introduce new types like |
|
I don't think we would gain much from it though. |
|
OK, then let's stay with -1. |
dd0681b to
adf5304
Compare
There were some indentation changes (I shouldn't I know...) because of a previous use of a tab instead of spaces. It was looking very bad with my editor.