2 Oct
2007
2 Oct
'07
9:42 a.m.
Jonathan Sauer wrote:
Hello,
when GCC is used, writing '==' instead of '=' should be caught with the switch '-Wunused-value'.
Enable compiler warnings (all of them, if possible), compiler warnings are your friend :-)
Actually, I occasionally do that, just not all the time. If you want to do it yourself, run build.sh while the environment variable XCFLAGS=-Wall set.