You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (Updated JIRA)" <ji...@apache.org> on 2011/10/05 17:27:34 UTC

[jira] [Updated] (TS-837) ATS fails to compile with gcc 4.6.1 with --enable-debug

     [ https://issues.apache.org/jira/browse/TS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-837:
--------------------------

    Fix Version/s:     (was: 3.1.1)
                   3.1.2

Moving to 3.1.2, focusing on more important stuff right now ;)
                
> ATS fails to compile with gcc 4.6.1 with --enable-debug
> -------------------------------------------------------
>
>                 Key: TS-837
>                 URL: https://issues.apache.org/jira/browse/TS-837
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 3.0.0
>         Environment: Linux, Debian, Amd64 + GCC 4.6.1
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>             Fix For: 3.1.2
>
>         Attachments: proxything.diff
>
>
> {noformat}
> In file included from ../../proxy/ControlMatcher.h:104:0,
>                  from ../../proxy/ParentSelection.h:37,
>                  from P_Socks.h:30,
>                  from P_Net.h:106,
>                  from Connection.cc:34:
> ../../proxy/hdrs/HTTP.h: In member function 'INK_MD5 HTTPInfo::object_key_get()':
> ../../proxy/hdrs/HTTP.h:1375:24: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
> ../../proxy/hdrs/HTTP.h: In member function 'int64_t HTTPInfo::object_size_get()':
> ../../proxy/hdrs/HTTP.h:1405:24: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
> ../../proxy/hdrs/HTTP.h: In member function 'void HTTPInfo::object_size_set(int64_t)':
> ../../proxy/hdrs/HTTP.h:1422:51: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
> cc1plus: all warnings being treated as errors
> *** [Connection.o] Error 1
> make[2]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore/net'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore'
> make: *** [all-recursive] Error 1
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira