delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/15/00:19:37

From: "Stefan Viljoen" <Stefan_Viljoen AT excite DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP no like vectors?
Date: Wed, 15 Nov 2000 07:15:52 +0200
Organization: The South African Internet Exchange
Lines: 33
Message-ID: <8ut64d$lr9$1@ctb-nnrp2.saix.net>
References: <3a120ffd_1 AT corp DOT newsfeeds DOT com>
NNTP-Posting-Host: psw53-ov2-p49.ec.saix.net
X-Trace: ctb-nnrp2.saix.net 974265293 22377 155.239.161.49 (15 Nov 2000 05:14:53 GMT)
X-Complaints-To: abuse AT saix DOT net
NNTP-Posting-Date: 15 Nov 2000 05:14:53 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

23yrold3yrold <cbarry AT pangea DOT ca> wrote in message
news:3a120ffd_1 AT corp DOT newsfeeds DOT com...
> Hello. I'm having a problem with vectors in DJGPP (and Allegro). I'm
making
> a vertical shooter, and just for fun, I've been pumping up how many
> enemies/bullets are on screen at once. All objects are stored in vectors
of
> pointers to them. If the vectors get too large, the program crashes. I
don't

Hmm - what do you mean? You mean the pointers get too large? A pointer can
be of only one size - isn't it? The data it points to can vary in size,
though. ?

> know if it helps, but I've included results of symify; the reason I'm
asking
> this here is the presence of the dj_movedata error; this is a DJGPP thing,
> correct (same with new2.cc)? Also, if someone could tell me if there's
> anything further I can do with this mess of numbers (after symify) that
> might help too...
>
> Thank you for any help.

I have encountered something similar in trying to reference null and illegal
pointers (deallocated their data but forgot to null them as an indication)
before. You sure this isn't maybe what is happening?

Stefan Viljoen
http://home.intekom.com/rylan/



- Raw text -


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