You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/07/13 00:45:49 UTC

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

     [ https://issues.apache.org/jira/browse/TS-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom closed TS-2000.
-----------------------------

    Resolution: Fixed

Closing since it appears to be fixed.
                
> 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ć
>            Assignee: Igor Galić
>             Fix For: 3.3.5
>
>
> {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