2 ms·
>What flags you have in mind? -Wconversion https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html Th
by rualca 5y ago
>What flags you have in mind?
-Wconversion
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
This is common knowledge for ages. Any cursory Google search returns countless answers.
Take this post made over a decade ago.
https://stackoverflow.com/questions/1730255/gcc-shouldnt-a-warning-be-issued-when-assigning-an-int-to-a-char https://stackoverflow.com/questions/1730255/gcc-shouldnt-a-w...