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

clang complaint: '_MGMT_SCHEMA_' is defined here; did you mean '__MGMT_SCHEMA_'?

    XMLWordPrintableJSON

Details

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

    Description

        CXX    libutils_lm_a-MgmtSchema.o
      In file included from MgmtSchema.cc:25:
      ./MgmtSchema.h:24:9: error: '__MGMT_SCHEMA_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
      #ifndef __MGMT_SCHEMA_
              ^~~~~~~~~~~~~~
      ./MgmtSchema.h:25:9: note: '_MGMT_SCHEMA_' is defined here; did you mean '__MGMT_SCHEMA_'?
      #define _MGMT_SCHEMA_
              ^~~~~~~~~~~~~
              __MGMT_SCHEMA_
      1 error generated.
      make[2]: *** [libutils_lm_a-MgmtSchema.o] Error 1
      make[2]: Leaving directory `/home/igalic/src/asf/trafficserver/mgmt/utils'
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: