[protobuf] Why does ARMv5 thinks their are 2 implementations for these 4 functions in repeated_field.CC?

2011-02-10 Thread RainBow
The 4 functions are (bodies omitted): (1) void RepeatedPtrFieldBase::Reserve(int new_size) {} (2) void RepeatedPtrFieldBase::Swap(RepeatedPtrFieldBase* other) {} (3) string* StringTypeHandlerBase::New() {} (4) void StringTypeHandlerBase::Delete(string* value) {} Compiler error is: "\viren\QT_tes

[protobuf] Re: Why does ARMv5 thinks their are 2 implementations for these 4 functions in repeated_field.CC?

2011-02-10 Thread RainBow
More info: This is for Symbian^3, using QT v4.6. If I switch compiler to use GCCE, then the code compiles without making any changes. I created a totally new project and repeated the same exercise for ARM but still the same results. My config.h is handcrafted (based on Android config) and pasted

[protobuf] Re: Why does ARMv5 thinks their are 2 implementations for these 4 functions in repeated_field.CC?

2011-02-11 Thread RainBow
I have no clue what QT v4.6 is doing internally. I took all the PB files and put them in a .mmp and compiled it through Carbide v2.7 IDE for armv5 (which uses exactly same version of armcc as posted above). Surprisingly, it compiled very smoothly at the very first attempt. QT is gaytown...fer