[torquedev] Compilation warning
simont at mail.muni.cz
Thu Jul 16 05:24:44 MDT 2009
> Looking at the code, I don't know what to change. Strlen cannot return
> negative value and ptr definitely is not bellow array bounds. Maybe
> its about "path_checkpoint - 1".
> cc1: warnings being treated as errors
> checkpoint.c: In function 'replace_checkpoint_path':
> checkpoint.c:409: error: array subscript is below array bounds
My gcc version:
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Mgr. Simon Toth
CESNET z. s. p. o.
160 00 Praha 6
More information about the torquedev