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++ - compiler internal error 3191

Hello Walter,

I downloaded the latest version 8.40.2n and it gives up with internal 
error when compiling this code:

//----------- start code --------------------
  class CSlideWin
  {
  public:
     struct Entry
     {
        long  br_l, br_r;
        long  pn, pm;
        long  pedal;
     };
  private:
     static long CSlideWin::Entry::*members[5];
  }; //CSlideWin


  // BUG: compiler 8.40.2n crashes internal error 3191
  long CSlideWin::Entry::*CSlideWin::members[5] = {
        &CSlideWin::Entry::br_l, &CSlideWin::Entry::br_r,
        &CSlideWin::Entry::pn, &CSlideWin::Entry::pm,
        &CSlideWin::Entry::pedal
     };
//------------- end code ---------------------

The version 8.38 compiled this without problems.


- Heinz
Mar 30 2004