使用Edition语法编译Protobuf定义失败求助
Edition语法编译Protobuf定义失败求助
嘿,我最近在编译一份Protobuf定义文件时碰了壁,想请大家帮忙看看问题出在哪。我写的.proto文件内容是这样的:
edition = "2023"; package example_proto; import "google/protobuf/cpp_features.proto"; message BidAsk { required double bid = 1; required double ask = 2; required string timestamp = 3 [features.(pb.cpp).string_type = VIEW]; }
我对照着官方文档的要求来写的,感觉语法和配置都没毛病,但就是编译不通过,有没有大佬能指点一下呀?
备注:内容来源于stack exchange,提问作者user2138149
相关产品推荐
相关产品推荐

