From b03be4fa4d863e6beb362cfef6d834d14c96b7e1 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 20 Sep 2015 14:12:19 +0300 Subject: Add syntax specification to .proto files (issue #167) Eliminates a warning on protoc 3.0. --- tests/field_size_32/alltypes.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/field_size_32') diff --git a/tests/field_size_32/alltypes.proto b/tests/field_size_32/alltypes.proto index 5749e0d4..02ee1a6a 100644 --- a/tests/field_size_32/alltypes.proto +++ b/tests/field_size_32/alltypes.proto @@ -1,3 +1,5 @@ +syntax = "proto2"; + message SubMessage { required string substuff1 = 1 [default = "1"]; required int32 substuff2 = 2 [default = 2]; -- cgit 1.2.3-korg