contrib/fb303: use pure_enums in C++ for compatibility
authorDavid Reiss <dreiss@apache.org>
Tue, 28 Sep 2010 03:30:17 +0000 (03:30 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 28 Sep 2010 03:30:17 +0000 (03:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002000 13f79535-47bb-0310-9956-ffa450edef68

contrib/fb303/cpp/Makefile.am

index 17579c1..748d329 100644 (file)
@@ -68,7 +68,7 @@ endif
 
 # Set up Thrift specific activity here.
 # We assume that a <name>+types.cpp will always be built from <name>.thrift.
-$(eval $(call thrift_template,.,../if/fb303.thrift,-I $(thrift_home)/share  --gen cpp ))
+$(eval $(call thrift_template,.,../if/fb303.thrift,-I $(thrift_home)/share  --gen cpp:pure_enums ))
 
 include_fb303dir = $(includedir)/thrift/fb303
 include_fb303_HEADERS = FacebookBase.h ServiceTracker.h gen-cpp/FacebookService.h gen-cpp/fb303_constants.h gen-cpp/fb303_types.h