[
https://issues.apache.org/jira/browse/TS-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876544#comment-13876544
]
James Peach commented on TS-1689:
---------------------------------
Why do we care about GCC 4.7 on OmiOS?
> Wccp doesn't compile on OmniOS/gcc-4.7
> --------------------------------------
>
> Key: TS-1689
> URL: https://issues.apache.org/jira/browse/TS-1689
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Igor Galić
> Assignee: Igor Galić
> Fix For: 4.2.0
>
>
> {noformat}
> CXX WccpStatic.o
> WccpStatic.cc: In function ‘uint32_t wccp::Get_Local_Address(int)’:
> WccpStatic.cc:62:21: error: ‘SIOCGIFCONF’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code,
> const char*)’:
> WccpStatic.cc:150:78: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::vlogf_errno(ts::Errata::Code,
> const char*, __va_list_tag (&)[1])’:
> WccpStatic.cc:165:35: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code,
> const char*)’:
> WccpStatic.cc:151:1: error: control reaches end of non-void function
> [-Werror=return-type]
> cc1plus: all warnings being treated as errors
> gmake: *** [WccpStatic.o] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)