On Thu, 2004-09-02 at 23:05, Steven Kah Hien Wong wrote:
> On Tue, Aug 31, 2004 at 04:26:43PM +0200, Bradley T Hughes wrote:
> > So, I've just spent some time working on one of the biggest deficiencies 
> > in 0.70.0-beta1: Unicode support.
> 
> On Debian Testing, and GCC v3.3 I suspect, you will get a link error
> when trying to compile Blackbox.
> 
> I've tracked down similar link errors on Google:
> 
>     http://lists.debian.org/debian-gcc/2004/08/msg00271.html
> 
>     I'm getting some unresolved symbols when trying to compile C++
>     programs using specific char_traits.
> 
>     In function `std::basic_string<TestType, std::char_traits<TestType>,
>     std::allocator<TestType> >::assign(TestType const*)': : undefined
>     reference to `std::char_traits<TestType>::length(TestType const*)'
> 
>     As far as I have looked, the char_traits are correctly _declared_
>     for every template, but the member functions of the struct are
>     defined only when using 'char' or 'wchar_t' as template type.
> 
>     Again, this bug has been fixed in the new version of the libstdc++
>     (version 6 provided with g++-3.4), and making an adapted copy-paste
>     of the 'char_traits.h' file should be an acceptable solution (works
>     fine for me).
> 
> Except for blackbox the undefined reference is a basic_string::assign()
> function. Seems like a GCC problem to me. I just compiled it with
> CXX=g++-3.4, and it works.
> 
> But I thought it would be worth mentioning, incase some other Debian
> users run into this problem.
> 

... or fedora core 2 users....

-- 

,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper ::  Numbers 6:22-26 
 `
 | All brontosauruses are thin at one end, much MUCH thicker 
 | in the middle, and then thin again at the far end.  That is 
 | the theory that I have and which is mine, and what it is too.  
 ,
| bash$ :(){ :|:&};:
`----------------------//



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to