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 2016/03/26 15:46:25 UTC

[jira] [Commented] (TS-4302) Compiler warnings with gcc 5.1

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

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

We definitely should fix this for 6.2, marking as blocker.

> Compiler warnings with 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)