Specify syntax = "proto2" to silence warning with protobuf 3
[libprotobuf WARNING google/protobuf/compiler/parser.cc:491] No syntax specified for the proto file. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) The release notes say a future release will turn this warning into an error. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
John Hood
parent
0de4082e86
commit
57e54c46bc
@@ -1,3 +1,5 @@
|
||||
syntax = "proto2";
|
||||
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
|
||||
package ClientBuffers;
|
||||
|
||||
Reference in New Issue
Block a user