egcs B20 bug ?

Thoralf Kauk TKauk@rksoft.c.eunet.de
Tue Nov 10 04:05:00 GMT 1998


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list