Hello Guys,
I have generated protocol buffer header files and source files from proto and compiled those with include files on linux without any issues. Here I am trying to use same source files with same include directory but on solaris so I have encountered following problems. Does anyone have same issues while working with protobuf 2.1.0 (*)() in call to pthread_once(_once*, extern "C" void(*)()) is being passed void(*)(). "/work/$$$$/SunBuild/Server/../Tools/protobuf/include/google/protobuf/ descriptor.h", line 324: Warning: Identifier expected instead of "}". "/work/$$$$/SunBuild/Server/../Tools/protobuf/include/google/protobuf/ descriptor.h", line 343: Warning: Identifier expected instead of "}". "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/descriptor.h", line 354: Warning: Identifier expected instead of "}". "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/wire_format.h", line 177: Warning: Identifier expected instead of "}". "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/descriptor.pb.h", line 83: Error: Unexpected type name "google::protobuf::FieldDescriptorProto_Type" encountered. "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/descriptor.pb.h", line 102: Error: Unexpected type name "google::protobuf::FieldDescriptorProto_Label" encountered. "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/descriptor.pb.h", line 120: Error: Unexpected type name "google::protobuf::FileOptions_OptimizeMode" encountered. "/work//$$$$//SunBuild/Server/../Tools/protobuf/include/google/ protobuf/descriptor.pb.h", line 138: Error: Unexpected type name "google::protobuf::FieldOptions_CType" encountered. 4 Error(s) and 5 Warning(s) detected. Thanks & Regards, Vikram --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---