I see, thanks Josh!

On Thursday, February 15, 2018 at 5:32:36 PM UTC-5, Josh Humphries wrote:
>
> The stream keyword was added in protobuf 3.0. (Version 2.5 is quite old.) 
> Support for map types and proto3 syntax (which comes with a handful of 
> language restrictions and semantic changes for messages) were also added in 
> 3.0.
>
> ----
> *Josh Humphries*
> jh...@bluegosling.com <javascript:>
>
> On Thu, Feb 15, 2018 at 4:50 PM, Yanpeng Wu <peng...@gmail.com 
> <javascript:>> wrote:
>
>> *helloworld.proto*
>>
>> syntax = "proto2";
>> package helloworld;
>>
>> // The greeting service definition.
>> service Greeter {
>>   // Sends a greeting
>>   rpc SayHello (HelloRequest) returns (stream HelloReply) {}
>> }
>>
>> // The request message containing the user's name.
>> message HelloRequest {
>>   optional string name = 1;
>> }
>>
>> // The response message containing the greetings
>> message HelloReply {
>>   optional string message = 1;
>> }
>>
>>
>> $../protobuf-2.5.0/bin/protoc -I. --cpp_out=. helloworld.proto
>> $ helloworld.proto:7:47: Expected ")".
>>
>> Furthermore, are there any harms to incorporate grpc-1.8.4 with 
>> protobuf-2.5.0? 
>>
>> Thanks!
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com <javascript:>.
>> To post to this group, send email to grp...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/8d7dd32c-0d64-4087-918f-62e8a7b93dbc%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/8d7dd32c-0d64-4087-918f-62e8a7b93dbc%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/8142ceb9-c48b-408b-84a8-72d1f23c73da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to