uploaded patch fixed following fb303 compile errors on trunk for me. make[3]: Entering directory /home/sudhir/workspace/scribe/thrift-main/contrib/fb303/cpp' g++ -DPACKAGE_NAME=\"libfb303\" -DPACKAGE_TARNAME=\"libfb303\" -DPACKAGE_VERSION=\"20080209\" -DPACKAGE_STRING=\"libfb303\ 20080209\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_BOOST=/\*\*/ -I. -I.. -Igen-cpp -I/usr/local/include/thrift -I/usr/include -Wall -O3 -MT fb303_types.o -MD -MP -MF .deps/fb303_types.Tpo -c -o fb303_types.otest -f 'gen-cpp/fb303_types.cpp' || echo './'gen-cpp/fb303_types.cpp gen-cpp/fb303_types.cpp:11: error: ‘fb_status’ is not a class or namespace gen-cpp/fb303_types.cpp:12: error: ‘fb_status’ is not a class or namespace gen-cpp/fb303_types.cpp:13: error: ‘fb_status’ is not a class or namespace gen-cpp/fb303_types.cpp:14: error: ‘fb_status’ is not a class or namespace gen-cpp/fb303_types.cpp:15: error: ‘fb_status’ is not a class or namespace gen-cpp/fb303_types.cpp:16: error: ‘fb_status’ is not a class or namespace make[3]: *** [fb303_types.o] Error 1 make[3]: Leaving directory/home/sudhir/workspace/scribe/thrift-main/contrib/fb303/cpp' make[2]: [all] Error 2 make[2]: Leaving directory /home/sudhir/workspace/scribe/thrift-main/contrib/fb303/cpp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/sudhir/workspace/scribe/thrift-main/contrib/fb303' make: [all] Error 2
-- Regards, Sudhir Jorwekar On Sun, Jan 2, 2011 at 1:33 PM, Sudhir Jorwekar (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/THRIFT-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Sudhir Jorwekar updated THRIFT-925: > ----------------------------------- > > Attachment: 0001-THRIFT-925.-cpp-Add-_VALUES_TO_NAMES-enum-map.patch > > Fix for the pure_enums option. > > > Provide name<->value map for enums in C++ > > ----------------------------------------- > > > > Key: THRIFT-925 > > URL: https://issues.apache.org/jira/browse/THRIFT-925 > > Project: Thrift > > Issue Type: New Feature > > Components: C++ - Compiler, C++ - Library > > Reporter: David Reiss > > Assignee: David Reiss > > Priority: Minor > > Fix For: 0.6 > > > > Attachments: > > 0001-THRIFT-925.-cpp-Add-_VALUES_TO_NAMES-enum-map.patch, > > v1-0020-THRIFT-925.-cpp-Add-_VALUES_TO_NAMES-enum-map.patch > > > > > > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. >