mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Kone <vinodk...@apache.org>
Subject Re: Protobuf syntax version for Mesos
Date Mon, 13 Jun 2016 21:46:07 GMT
Are you are using a v3 protoc compiler? Looks like the "syntax" keyword was
introduced in https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-2.
Not sure if v2 protoc compilers recognize that keyword.

On Mon, Jun 13, 2016 at 5:42 PM, Zhitao Li <zhitaoli.cs@gmail.com> wrote:

> Hi,
>
> We are experimenting with HTTP API and tried to compile Mesos's .proto
> files with our repo (with make commands like "protoc --proto_path=protobuf
> --go_out=.gen protobuf/mesos/v1/scheduler/scheduler.proto", but we see
> warnings like
>
> ```
> [libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax
> specified for the proto file: mesos/v1/scheduler/scheduler.proto.
> Please use 'syntax
> = "proto2";' or 'syntax = "proto3";' to specify a syntax version.
> (Defaulted
> to proto2 syntax.)
> ```
>
> Should we have proper `syntax` clauses in various .proto files? If not,
> what's the reason?
>
> Thanks.
>
> --
> Cheers,
>
> Zhitao Li
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message