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

Leif Hedstrom commented on TS-4302:
-----------------------------------

Noticed one more detail: It seems on this version of Illumos / OmniOS, ATS 
finds the epoll() interface, and prefers that over the port interface. I'm not 
convinced that is the right thing to do, but not certain. Curious if e.g. 
[~jesus] has any input on this?

Also, e.g. gcc 5.3.x on Linux does not trip up over this.

> Compiler warnings on OmniOS w. gcc 5.1
> --------------------------------------
>
>                 Key: TS-4302
>                 URL: https://issues.apache.org/jira/browse/TS-4302
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Core
>            Reporter: Leif Hedstrom
>            Priority: Blocker
>             Fix For: 6.2.0
>
>
> Getting these warnings from gcc 5.1:
> {code}
> In file included from 
> /home/leif/apache/trafficserver.git/iocore/net/P_Net.h:94:0,
>                  from 
> /home/leif/apache/trafficserver.git/proxy/InkAPIInternal.h:29,
>                  from 
> /home/leif/apache/trafficserver.git/mgmt/ProcessManager.cc:28:
> /home/leif/apache/trafficserver.git/iocore/net/P_UnixNet.h: In function ‘void 
> read_disable(NetHandler*, UnixNetVConnection*)’:
> /home/leif/apache/trafficserver.git/iocore/net/P_UnixNet.h:424:30: warning: 
> overflow in implicit constant conversion [-Woverflow]
>    vc->ep.modify(-EVENTIO_READ);
>                               ^
> /home/leif/apache/trafficserver.git/iocore/net/P_UnixNet.h: In function ‘void 
> write_disable(NetHandler*, UnixNetVConnection*)’:
> /home/leif/apache/trafficserver.git/iocore/net/P_UnixNet.h:445:31: warning: 
> overflow in implicit constant conversion [-Woverflow]
>    vc->ep.modify(-EVENTIO_WRITE);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to