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

Siamak Haschemi updated THRIFT-177:
-----------------------------------

    Attachment: plexical_cast_std_string.patch

This patch helps with my compilation problem.

> Compile error for selecting a matching boost-template (lexical_cast)
> --------------------------------------------------------------------
>
>                 Key: THRIFT-177
>                 URL: https://issues.apache.org/jira/browse/THRIFT-177
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C++)
>         Environment: openWRT SDK environment
>            Reporter: Siamak Haschemi
>         Attachments: plexical_cast_std_string.patch
>
>
> I'm trying to cross-compile thrift for my openWRT environment. However, in 
> the compilcation phase of the cpp-Library, my compiler got a problem in 
> finding the right lexical_cast template from the boost library.
> i386-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./src 
> -I/home/siamak/seismo-openwrt/trunk/staging_dir/i386/usr/include 
> -I/home/siamak/seismo-openwrt/trunk/staging_dir/i386/include -Wall -O2 -pipe 
> -march=i486 -funit-at-a-time -fhonour-copts -MT Thrift.lo -MD -MP -MF 
> .deps/Thrift.Tpo -c src/Thrift.cpp  -fPIC -DPIC -o .libs/Thrift.o
> src/Thrift.cpp: In static member function 'static std::string 
> facebook::thrift::TOutput::strerror_s(int)':
> src/Thrift.cpp:57: error: 'string' was not declared in this scope
> src/Thrift.cpp:57: error: no matching function for call to 
> 'lexical_cast(int&)'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to