delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/10/19:33:12

From: TKauk AT rksoft DOT c DOT eunet DOT de (Thoralf Kauk)
Subject: egcs B20 bug ?
10 Nov 1998 19:33:12 -0800 :
Message-ID: <199811101040.LAA07700.cygnus.gnu-win32@binky.de.uu.net>
To: gnu-win32 AT cygnus DOT com

The following code ( figured  from the CGAL-Project) causes an exception in cc1plus


template <class _Data, class _Window> class CGAL_tree_base
{
  typedef CGAL_tree_base<_Data, _Window> tree_base_type;
};


template <class _Data, class _Window> class CGAL_Segment_tree_d
  : public CGAL_tree_base< _Data,  _Window>
{

  struct segment_tree_node {
    tree_base_type *sublayer;
  };
};

int main() { return 0; }

There were no problems with B19 compiler or Linux egcs
The exception produces this output:

[main] D:\cygnus\cygwin-b20\h-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\cc1plus.exe 1002 (0) handle_exceptions: Exception: STATUS_STACK_OVERFLOW

Is there any way to work around ?

Thoralf

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019