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 __stdcall in all function signatures for static
member functions and for regular functions. Have all these functions
in .pb.h properly prefixed.

Can you think of any painless way that wouldn't involve modifying
protobuf source code? Perhaps a plugin could somehow achieve that?

- Kostya

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to