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 20:16:14 UTC

[jira] [Commented] (TS-1690) Experimental plugins don't build on ARM (Ubuntu gcc-4.4)

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

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

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

TS-1690 fix build on arm/ubuntu/gcc-4.2:

change %ld to %zu because size_t. We don't use PRi because there
is none for size_t.

                
> Experimental plugins don't build 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ć
>            Assignee: Igor Galić
>             Fix For: 3.3.1
>
>
> [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