You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/02/04 17:54:14 UTC

[jira] [Commented] (TS-1690) ESI build fails on ARM (Ubuntu gcc-4.4)

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

ASF subversion and git services commented on TS-1690:
-----------------------------------------------------

Commit 5c0ead4b278926b7b519fde67bc5e2c1cd73b37a from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=5c0ead4 ]

TS-1690: Fix build on arm/Ubuntu/gcc 4.4

Cast an unsigned to a long int.

                
> ESI build fails on ARM (Ubuntu gcc-4.4)
> ---------------------------------------
>
>                 Key: TS-1690
>                 URL: https://issues.apache.org/jira/browse/TS-1690
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Igor Galić
>
> [Buildbot's log file|http://ci.apache.org/builders/tserver-arm-ubuntu-trunk/builds/91/steps/compile_2/logs/stdio] for reference
> {noformat}
> Making all in esi
> make[3]: Entering directory `/home/buildslave23/slave23/tserver-arm-ubuntu-trunk/build/plugins/experimental/esi'
>   CXX    HttpDataFetcherImpl.lo
> fetcher/HttpDataFetcherImpl.cc: In member function 'bool HttpDataFetcherImpl::_isFetchEvent(TSEvent, int&) const':
> fetcher/HttpDataFetcherImpl.cc:115:109: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'std::vector<__gnu_cxx::_Hashtable_iterator<std::pair<const std::basic_string<char>, HttpDataFetcherImpl::RequestData>, std::basic_string<char>, EsiLib::StringHasher, std::_Select1st<std::pair<const std::basic_string<char>, HttpDataFetcherImpl::RequestData> >, std::equal_to<std::basic_string<char> >, std::allocator<HttpDataFetcherImpl::RequestData> > >::size_type {aka unsigned int}' [-Werror=format]
> cc1plus: all warnings being treated as errors
> make[3]: *** [HttpDataFetcherImpl.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