From: David Reiss Date: Tue, 28 Sep 2010 03:30:17 +0000 (+0000) Subject: contrib/fb303: use pure_enums in C++ for compatibility X-Git-Tag: 0.5.0~8 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=ca67b899594004966f002a82ff126e0916f133d4;p=common%2Fthrift.git contrib/fb303: use pure_enums in C++ for compatibility git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002000 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/contrib/fb303/cpp/Makefile.am b/contrib/fb303/cpp/Makefile.am index 17579c15..748d3298 100644 --- a/contrib/fb303/cpp/Makefile.am +++ b/contrib/fb303/cpp/Makefile.am @@ -68,7 +68,7 @@ endif # Set up Thrift specific activity here. # We assume that a +types.cpp will always be built from .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