delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/13/08:32:48

From: Davin Max Pearson <d DOT pearson AT ext DOT canterbury DOT ac DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiler Abort! on template usage
Date: 13 Apr 1998 22:38:39 +1200
Organization: University of Canterbury
Lines: 13
Message-ID: <wkpvim0zww.fsf@wibble.zibble>
References: <35306226 DOT 17D8 AT easystreet DOT com>
NNTP-Posting-Host: exti141.tacacs.canterbury.ac.nz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Al Christians <achrist AT easystreet DOT com> writes:

> 
> 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);

Try vector<string> a = vector<string>(10);

That should have the effect that you wanted.  I had a similar problem
to this before.

- Raw text -


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