Hi ,
I am using protobuf for my project, when i compile my project which is in C++ I am getting a lot of errors.
Here , i am mentioning only the errors which are coming initially and i believe solving these may give me hint in solving other errors also!
src/google/protobuf/descriptor.h:1259:7: error: expected identifier before numeric constant
src/google/protobuf/descriptor.h:1259:7: error: expected '}' before numeric constant
src/google/protobuf/descriptor.h:1259:7: error: expected unqualified-id before numeric constant
src/google/protobuf/descriptor.h:1276:7: error: 'ErrorLocation' has not been declared
src/google/protobuf/descriptor.h:1286:7: error: 'ErrorLocation' has not been declared
src/google/protobuf/descriptor.h:1291:5: error: ISO C++ forbids declaration of 'ErrorCollector' with no type [-fpermissive]
src/google/protobuf/descriptor.h:1291:5: error: 'ErrorCollector' does not name a type
src/google/protobuf/descriptor.h:1291:5: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
Not getting the reason why these errors are coming, seeking some guidance to resolve this!
IDE used is eclipse and compiler is GCC, platform on which i am building is Windows 7