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

Christian Lavoie updated THRIFT-920:
------------------------------------

    Attachment: v2-thrift-fix-cpp-test.patch

On my box (Mac OS X 10.6; gcc 4.2, boost 1.44) the patch I'm attaching is 
needed to make the test compile (it's a superset of Roger's).

Roger, can you try it out and let me know if it's kosher on your box too?

{noformat}
Darwin -- 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; 
root:xnu-1504.7.4~1/RELEASE_I386 i386

i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

boost                          @1.44.0         devel/boost
boost-jam                      @3.1.18         devel/boost-jam
gcc45                          @4.5.1          lang/gcc45
libevent                       @1.4.14b        devel/libevent
{noformat}

> C++ Test and Tutorial does not compile anymore due to the change within Enum 
> handling
> -------------------------------------------------------------------------------------
>
>                 Key: THRIFT-920
>                 URL: https://issues.apache.org/jira/browse/THRIFT-920
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library, Test Suite
>    Affects Versions: 0.5
>            Reporter: Roger Meier
>             Fix For: 0.5
>
>         Attachments: 
> THRIFT-920_cpp_fix_enum_change_on_test_and_tutorial.patch, 
> v2-thrift-fix-cpp-test.patch
>
>
> This patch changes the following files, to support the new more powerful 
> enumeration handling introduced since 0.4.0
> {code}
> M      test/cpp/Thrift-test.mk
> M      test/cpp/src/TestClient.cpp
> M      test/cpp/src/TestServer.cpp
> M      tutorial/cpp/CppClient.cpp
> M      tutorial/cpp/CppServer.cpp
> {code}
> changes e.g.
> {code}
> -    crazy.userMap.insert(make_pair(EIGHT, 8));
> +    crazy.userMap.insert(make_pair(Numberz::EIGHT, 8));
> {code}

-- 
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