From 227bdde922e919771e8702fc422461df4f1d317d Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Fri, 27 Jan 2017 15:07:20 -0600 Subject: proto: Fix warnings for protoc v3 protoc v3 introduces a new syntax for proto files and warns when the syntax is not explicitly stated. protoc relies on the fact that undefined preprocessor symbols are explanded to 0 but since we use -Wundef they end up generating warnings. Change-Id: If07abeb54e932469c8f2c4d38634a97fdae40f77 Reviewed-by: Andreas Hansson Reviewed-by: Andreas Sandberg Signed-off-by: Jason Lowe-Power --- src/proto/inst.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/proto/inst.proto') diff --git a/src/proto/inst.proto b/src/proto/inst.proto index 3e8dcde8b..5ef266455 100644 --- a/src/proto/inst.proto +++ b/src/proto/inst.proto @@ -1,4 +1,4 @@ -// Copyright (c) 2014 ARM Limited +// Copyright (c) 2014,2017 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -35,6 +35,7 @@ // // Authors: Ali Saidi +syntax = "proto2"; // Put all the generated messages in a namespace package ProtoMessage; -- cgit v1.2.3