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

mgmt/api does not compile on llvm/clang (from trunk)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3.2
    • Build, Management API
    • None

    Description

      Making all in remote
      make[3]: Entering directory `/home/igalic/src/asf/trafficserver/mgmt/api/remote'
        CXX    CfgContextImpl.lo
        CXX    CfgContextManager.lo
        CXX    CfgContextUtils.lo
      ../CfgContextUtils.cc:352:70: error: sizeof on pointer operation will return size of 'char *' instead of 'char [4098]' [-Werror,-Wsizeof-array-decay]
            if (pos<sizeof(buf) && (psize = snprintf(buf + pos, sizeof(buf - pos), "%s", delimiter))> 0)
                                                                       ~~~ ^
      1 error generated.
      

      Attachments

        Activity

          People

            jamespeach James Peach
            i.galic Igor Galić
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: