Hi,
I tried to debug implementation which initializes kTypeNames.
It seems like MakeTypeNameTable() function is not called
which causes uninitialized kTypeNames. I tried to convert kTypeNames
to static variable but still it didn't work.Then I made it global
variable and modified this
Thanks Kenton, I configured correctly using following configure
string
./configure CC=/compiler/xlcpp/usr/vac/bin/xlc_r CXX=/compiler/
xlcpp/usr/vacpp/bin/xlC_r CXXFLAGS=-g -qlanglvl=extended -
D__IBMCPP_TR1__ -qidirfirst -I/compiler/xlcpp/usr/vacpp/include
CFLAGS=-g -qlanglvl=extc99
This sounds like another problem with your compiler -- it can't find
std::string.
Note that in common.h we use using namespace std; to import all of std
into the google::protobuf namespace. This is not good practice but we
didn't think it was worth the effort to fix it.
On Tue, Jan 19, 2010 at
It just looks up the type name in a hash_map:
http://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/compiler/parser.cc#1007
http://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/compiler/parser.cc#1007kTypeNames
is initialized here:
Thanks Kenton. I will try to debug it and will let you know. Did anyone
successfully compiled protocol buffer on AIX ? I've seen couple of posts but
never saw some reply with success.
Thanks Regards,
Vikram
On Tue, Jan 19, 2010 at 7:56 PM, Kenton Varda ken...@google.com wrote:
It just looks
I have no idea.
On Tue, Jan 19, 2010 at 7:58 PM, vikram patil patilvik...@gmail.com wrote:
Thanks Kenton. I will try to debug it and will let you know. Did anyone
successfully compiled protocol buffer on AIX ? I've seen couple of posts but
never saw some reply with success.
Thanks