facebook/fbthrift

use thrfit1 to compile thrift/lib/thrift/metadata.thrift generate different content sometimes

Closed this issue · 1 comments

when I use thrfit1 compile thrift/lib/thrift/metadata.thrift to generate corresponding cpp files, sometimes all struct/class inherit EmptyServiceMetadata, sometimes doen't, when inherit EmptyServiceMetadata will cause compil error, how to made it always generate right version?

metadata_metadata.h gen_getThriftServiceMetadata is not a member of 'apache::thrift::detail::md::ServiceMetadata<apache::thrift::ServiceHandler<apache::thrift::metadata::ThriftMetadataService>>

image
image

does these *.thrift file has process order?