ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Lustre 2.11.0
    • Affects Version/s: None
    • None
    • 3
    • 9223372036854775807

      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.

            Assignee:
            WC Triage
            Reporter:
            Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: