[torquedev] Compilation warning
Simon Toth
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[0] 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.
Zikova 4
160 00 Praha 6
Czech Republic
More information about the torquedev
mailing list