Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
This is highleghted by newer gcc as in Fedora 26:
util/parser.c: In function Б─≤processБ─≥: util/parser.c:199:28: error: comparison between pointer and zero character constant [-Werror=pointer-compare] if ( *next == '\0' ) { ^~ util/parser.c:199:22: note: did you mean to dereference the pointer? if ( *next == '\0' ) { ^ cc1: all warnings being treated as errors make[4]: *** [autoMakefile:671: libcfsutil_a-parser.o] Error 1 make[4]: Leaving directory '/home/green/smt/git/lustre-release/libcfs/libcfs'
Apparently we really need to do double dereference on next.