Github user maskit commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/570#discussion_r59965264
  
    --- Diff: proxy/ProxyClientSession.h ---
    @@ -25,14 +25,19 @@
     #define __PROXY_CLIENT_SESSION_H__
     
     #include "ts/ink_platform.h"
    +#include "ts/ink_resolver.h"
     #include "P_Net.h"
     #include "InkAPIInternal.h"
    +#include "http/HttpServerSession.h"
     
     // Emit a debug message conditional on whether this particular client 
session
     // has debugging enabled. This should only be called from within a client 
session
     // member function.
     #define DebugSsn(ssn, tag, ...) DebugSpecific((ssn)->debug(), tag, 
__VA_ARGS__)
     
    +class ProxyClientTransaction;
    +class AclRecord;
    --- End diff --
    
    I got this error.
    ```
    In file included from ./Http1ClientSession.h:41:
    ../../proxy/ProxyClientSession.h:39:1: error: class 'AclRecord' was 
previously declared as a struct [-Werror,-Wmismatched-tags]
    class AclRecord;
    ^
    ../../proxy/IPAllow.h:56:8: note: previous use is here
    struct AclRecord {
           ^
    ../../proxy/ProxyClientSession.h:39:1: note: did you mean struct here?
    class AclRecord;
    ^~~~~
    struct
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to