[ 
https://issues.apache.org/jira/browse/TS-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589037#comment-13589037
 ] 

Leif Hedstrom commented on TS-1732:
-----------------------------------

Maybe we should consistently use TS_MAX_HOST_NAME_LEN ? If so, then also fix 
LogConfig.cc, which uses MAXHOSTNAMELEN.
                
> Authproxy plugin doesn't compile on Solaris (or Illumos)
> --------------------------------------------------------
>
>                 Key: TS-1732
>                 URL: https://issues.apache.org/jira/browse/TS-1732
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Plugins
>            Reporter: Igor Galić
>
> {noformat}
> gmake[2]: Entering directory 
> `/home/i.galic/src/trafficserver/plugins/experimental/authproxy'
>   CXX      authproxy.lo
> authproxy.cc: In function 'TSEvent StateAuthProxyResolve(AuthRequestContext*, 
> void*)':
> authproxy.cc:372:30: error: 'MAXHOSTNAMELEN' was not declared in this scope
> authproxy.cc:380:43: error: 'hostname' was not declared in this scope
> authproxy.cc: In function 'AuthOptions* AuthParseOptions(int, const char**)':
> authproxy.cc:715:5: error: deprecated conversion from string constant to 
> 'char*' [-Werror=write-strings]
> authproxy.cc:715:5: error: deprecated conversion from string constant to 
> 'char*' [-Werror=write-strings]
> authproxy.cc:715:5: error: deprecated conversion from string constant to 
> 'char*' [-Werror=write-strings]
> authproxy.cc:715:5: error: deprecated conversion from string constant to 
> 'char*' [-Werror=write-strings]
> cc1plus: all warnings being treated as errors
> gmake[2]: *** [authproxy.lo] Error 1
> {noformat}

--
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

Reply via email to