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?
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at