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:
Anders Kaseorg
2015-08-06 22:50:36 -04:00
committed by John Hood
parent 0de4082e86
commit 57e54c46bc
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package ClientBuffers;