delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/19/02:08:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199906190607.BAA25507@mercury.xraylith.wisc.edu>
To: "K. Haley" <khaley AT bigfoot DOT com>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: template class limit?
In-Reply-To: Your message of "Fri, 18 Jun 1999 23:46:38 MDT."
<4 DOT 1 DOT 19990618224925 DOT 0093d910 AT mail DOT geocities DOT com>
Date: Sat, 19 Jun 1999 01:07:54 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

"K. Haley" <khaley AT bigfoot DOT com> writes:
> Is there a limit to the number of template classes that can be defined?
> I'm trying to compile the OWL 6 libraries, but I keep getting an internal
> compiler error while trying to instantiate something in bastring or
> stl_alloc.  In tracking down this problem I took the basic hello world
> program and included various OWL headers until I found one that caused this
> error.  I then started copying the header section by section into the
> program until the error occurred.  The error occurred when I included the
> following class:

I'm not sure what problem you're seeing. If you can send me a complete
test case, I'll look into it.

The only template limit is the tempalte recursion limit, and that can
be controlled by a -ftemplate-depth=<depth> option when compiling, and
that's obviously not what you're running into.

I know nothing about OWL. If it's a C++ class library, then it's NOT
compatible with GCC (unless it's also compiled with GCC). Sorry.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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