DescriptionThis is a trivial patch to simply remove the error; which means if you have some (java,cpp)_generic_services=true and optimize_for=LITE_RUNTIME, declared services will simply be ignored without any warning or error (if you're generating Python code, services will be generated because there's no LITE_RUNTIME support)
(I do have some code to add an error in google::protobuf::compiler::java::FileGenerator::Validate but it would require adding such a Validate method for C++; do not hesitate to ask me if you want me to try this way, but first read the note below)
IMPORTANT NOTE: I haven't tested the code (not even compiled) as do not have a build environment (I'm using the Windows pre-built binary)
Patch Set 1 #
MessagesTotal messages: 2
|