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!