Re: Fwd: Maybe g++ bug (in stl_algo.h 0x08048beb in std::__unguarded_partition)

2008-10-18 Thread Andreas Schwab
Niklaus <[EMAIL PROTECTED]> writes: > This crashes on g++ 4.2.3. I think my code is correct. I'm not doing > any out of bound errors but sort crashes. Your comparison function does not meet the requirements of the standard (inducing a strict weak ordering on the values). Andreas. -- Andreas S

Fwd: Maybe g++ bug (in stl_algo.h 0x08048beb in std::__unguarded_partition)

2008-10-18 Thread Niklaus
-- Forwarded message -- From: Niklaus <[EMAIL PROTECTED]> Date: Sat, Oct 18, 2008 at 11:52 PM Subject: Maybe g++ bug (in stl_algo.h 0x08048beb in std::__unguarded_partition) To: gcc <[EMAIL PROTECTED]> hi, This crashes on g++ 4.2.3. I think my code is correct. I'm not doing any o