cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/12/02:47:46

From: Al Christians <achrist AT easystreet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiler Abort! on template usage
Date: Sat, 11 Apr 1998 23:41:42 -0700
Organization: Trillium Resources Corporation
Lines: 21
Message-ID: <35306226.17D8@easystreet.com>
Reply-To: achrist AT easystreet DOT com
NNTP-Posting-Host: dial-56-091.easystreet.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've found that djgpp terminates a compile on me with the uninformative
"Abort!" message when I use a statement such as

	vector<string>   a(10);

OTOH

	vector<string>   a;

works fine.		 

Since Stroustrup recommends the first form, I assume this is some kind
of a compiler or template bug.  Has anybody else hit this, or is there
something amiss in my setup?  Any explanations about?

gcc -v tells me 'using builtin specs', gcc version 2.8.0.

TIA.


Al

- Raw text -


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