Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2030

build error when enable --enable-interim-cache on fedora19 x86_64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.5
    • Cache
    • None

    Description

      CacheWrite.cc: In member function 'int InterimCacheVol::aggWriteDone(int, void*)':
      CacheWrite.cc:1936:307: error: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'long long int' [-Werror=format=]
      Debug("cache_disk_error", "Write error on disk %s\n \
      ^
      CacheWrite.cc:1936:307: error: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'long long unsigned int' [-Werror=format=]
      CacheWrite.cc:1936:307: error: format '%lu' expects argument of type 'long unsigned int', but argument 11 has type 'long long int' [-Werror=format=]
      CacheWrite.cc:1936:307: error: format '%lu' expects argument of type 'long unsigned int', but argument 12 has type 'long long unsigned int' [-Werror=format=]
      cc1plus: all warnings being treated as errors
      make[2]: *** [CacheWrite.o] Error 1
      make[2]: *** Waiting for unfinished jobs....

      Attachments

        1. a.patch
          0.9 kB
          bettydramit

        Activity

          People

            jamespeach James Peach
            bettydreamit bettydramit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: