Building kdevelop-3.5.0 with non-g++ compiler

Andreas Pakulat apaku at gmx.de
Thu Dec 27 23:17:44 GMT 2007


On 27.12.07 15:07:42, Peter O'Gorman wrote:
> Hi,
> 
> We are unable to build kdevelop with non-gcc compilers. Unfortunately
> my c++ abilities are not up to removing the g++ isms from
> lib/interfaces/hashedstring.{h,cpp}.
> 
> I can find hashedstring.{h,cpp} in kdevelop4, and it seems to be more
> portable (no namespace __gnu_cxx that I can see), but it also appears
> to be completely different to the one in 3.5.

Are you sure? Hmm, maybe not in hashedstring.h itself, but in almost
every place its used in.

> Any ideas on how to get this building with hpux's aCC?

Find somebody who has access to hpux and is able to convert that. Sorry,
but without the possibility to use that compiler (or in-depth knowledge
about it) there's no way to fix these problems.

Though replacing the stuff thats in __gnu_cxx namespace is relatively
easy, if your compiler provides the same classes somehow (like MSVC
does, it just puts them in a different path and namespace). So find out
wether aCC has a mapping type that uses a hash for the key and how one
can define its own hashing function for a custom type. 

Andreas

-- 
Stay the curse.




More information about the KDevelop mailing list