Comment #5 on issue 179 by orlov...@gmail.com: Visual C++ error C1091 when
compiling protoc generated code with over 64k descriptor
To avoid this limitation you have to create descriptor string in heap.
oss << "myString1" << "myString2" << "myString3" << "myString4";
oss.str() would now return an instance of the STL's std:: string class, and
oss.str().c_str() would return a const char*.
I have a patch to solve this issue in C++ protoc output.
Please find attached file.
cpp_file.cc 21.1 KB
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at