Re: How should I Input the path of compiling .proto files?

2008-10-16 Thread gangli59
I have the same problem. Tried 2.0.2 release, the problem still exist. Here the error: protoc.exe --cpp_out=. C:\Projects\Apps_main\C++\Common\test.proto C:/Projects/Apps_main/C++/Common/test.pb.h: while trying to create directory ./C:: Invalid argument

Re: Popping values from repeated fields

2008-10-16 Thread Kenton Varda
Currently, no, you can only clear the whole list and start over. I would be amenable to a patch, though, if people feel this would be a useful addition. On Wed, Oct 15, 2008 at 8:36 PM, Andrew Wachira [EMAIL PROTECTED] wrote: In the Java language. On 10/15/08, Kenton Varda [EMAIL PROTECTED]

Re: How should I Input the path of compiling .proto files?

2008-10-16 Thread Kenton Varda
You need to specify a --proto_path, like: protoc --proto_path=C:\Projects\Apps_main\C++\Common --cpp_out=. C:\Projects\Apps_main\C++\Common\test.proto There is a bug in protoc which causes it to print the wrong error here -- it should have reported that your input file was not in the proto_path.

Re: Protocol Buffer as XCode Framework

2008-10-16 Thread Kenton Varda
I'm not sure how mac frameworks work, but it looks like your compiler is not linking against the protobuf library. On Thu, Oct 16, 2008 at 9:41 AM, Carlos Gamboa [EMAIL PROTECTED] wrote: Hello. I am trying to add the protocol buffer to my application (for iphone) and i have been struggling

Re: using RPC on asynchronous server

2008-10-16 Thread Kenton Varda
Many (most?) servers at Google use asynchronous protobuf RPC. I'm not sure how to answer your question, though. Can you be more specific? On Tue, Oct 14, 2008 at 7:16 AM, muqu [EMAIL PROTECTED] wrote: Anybody can shine some light on their experience on using the PB RPC on an asynchronous

Re: Patch to quiet compiler warnings from generated service code

2008-10-16 Thread Kenton Varda
I've made this change in SVN. Thanks. On Thu, Oct 2, 2008 at 12:40 PM, Caleb [EMAIL PROTECTED] wrote: When run with high warning levels, gcc complains that the 'request' and 'response' arguments are unused for all of the stub service functions generated by the protoc compiler. Here's the