You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/07/04 10:55:21 UTC

[jira] [Created] (TS-2000) clang complaint: '_MGMT_SCHEMA_' is defined here; did you mean '__MGMT_SCHEMA_'?

Igor Galić created TS-2000:
------------------------------

             Summary: clang complaint: '_MGMT_SCHEMA_' is defined here; did you mean '__MGMT_SCHEMA_'?
                 Key: TS-2000
                 URL: https://issues.apache.org/jira/browse/TS-2000
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Igor Galić


{code}
  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'
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira