www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - [bug] New to DMC++ 8.45

↑ ↓ ← "Matthew" <matthew hat.stlsoft.dot.org> writes:
DMC++ 8.45 has an ICE when asked to compile code using the non-member !=
operator for stlsoft::pod_vector. 8.44 doesn't.

This is reminiscent of a behaviour I've seen with many "older" compilers,
whereby non-member (in)equality operators of class templates are not
properly resolved, leading to the need to workaround by conditionally
defining the operators as member functions. The surprise here is that 8.44
likes it, and 8.45 doesn't and _appears_ to have regressed.

I'm afraid I haven't time to pare it down, but just wanted to give you a
heads up on the off-chance it might provoke a Eureka moment
Dec 26 2005
↑ ↓ → "Walter Bright" <newshound digitalmars.com> writes:
"Matthew" <matthew hat.stlsoft.dot.org> wrote in message 
news:dops5r$phn$1 digitaldaemon.com...
 DMC++ 8.45 has an ICE when asked to compile code using the non-member !=
 operator for stlsoft::pod_vector. 8.44 doesn't.

 This is reminiscent of a behaviour I've seen with many "older" compilers,
 whereby non-member (in)equality operators of class templates are not
 properly resolved, leading to the need to workaround by conditionally
 defining the operators as member functions. The surprise here is that 8.44
 likes it, and 8.45 doesn't and _appears_ to have regressed.

 I'm afraid I haven't time to pare it down, but just wanted to give you a
 heads up on the off-chance it might provoke a Eureka moment

I don't know what might be causing the problem.
Dec 26 2005