This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs B20 bug ?


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]