[protobuf] Best way to specify __stdcall to all auto-generated functions signatures (static member functions and regular functions)

2011-07-13 Thread Kostya Y
Hi I am compiling protobuf with stdcall compiler setting as most of our projects use this calling convention. However, currently I need to integrate it with a project that uses the __cdecl naming convention. Basically what I would like to have is the cpp generator to specifically specify __stdcal

Re: [protobuf] Allocator Support for strings

2011-07-13 Thread Gokulakannan Somasundaram
Thanks a lot for the reply. Gokul. On Tue, Jul 12, 2011 at 3:23 PM, Pherl Liu wrote: > In the common.h, we have a "using namespace std;", and we use "string" > directly in runtime libraries. However, we use "::std::string" in generated > file; you need to modify the proto compiler to support d