Merge pull request #1021 from thomasvl/fix_err_msg
Tweak the error message as the generate is in the core binary these d…
This commit is contained in:
commit
77d56e3e83
12 changed files with 12 additions and 12 deletions
objectivec/google/protobuf
Any.pbobjc.hApi.pbobjc.hDescriptor.pbobjc.hDuration.pbobjc.hEmpty.pbobjc.hFieldMask.pbobjc.hSourceContext.pbobjc.hStruct.pbobjc.hTimestamp.pbobjc.hType.pbobjc.hWrappers.pbobjc.h
src/google/protobuf/compiler/objectivec
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "GPBProtocolBuffers.h"
|
||||
|
||||
#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000
|
||||
#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
|
||||
#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
|
||||
#endif
|
||||
|
||||
// @@protoc_insertion_point(imports)
|
||||
|
|
|
@ -95,7 +95,7 @@ void FileGenerator::GenerateHeader(io::Printer *printer) {
|
|||
// code is being compiled with.
|
||||
printer->Print(
|
||||
"#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != $protoc_gen_objc_version$\n"
|
||||
"#error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.\n"
|
||||
"#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.\n"
|
||||
"#endif\n"
|
||||
"\n",
|
||||
"protoc_gen_objc_version",
|
||||
|
|
Loading…
Add table
Reference in a new issue