www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/26/12:00:24

From: krand AT ican DOT net (Andrew Ellem)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro WIP (make.exe crash)
Followup-To: comp.os.msdos.djgpp
Date: Wed, 24 Sep 1997 01:36:11 GMT
Organization: ACC TelEnterprises Ltd.
Lines: 22
Distribution: world
Message-ID: <609qsl$86o$1@news1.tor.acc.ca>
References: <606l0a$h72$1 AT news1 DOT tor DOT acc DOT ca> <606sfe$lu0$1 AT news1 DOT tor DOT acc DOT ca> <2E4OlpA9sBK0EwvF AT talula DOT demon DOT co DOT uk>
Reply-To: krand AT ican DOT net
NNTP-Posting-Host: ppp-239.m2-14.tor.ican.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <2E4OlpA9sBK0EwvF AT talula DOT demon DOT co DOT uk>, Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> wrote:

>It's very worrying that so many people seem to have trouble compiling
>this file! It is very large (a macro that expands into 256 versions of a
>color blending routine, one for each alpha value, and is used three
>times for the different color depths), but it isn't _so_ big that I
>would expect it to cause problems, and the individual functions are all
>quite small. I have a nasty feeling that I might have to split this
>across several files, unless you can find a reliable way to make it
>build...
>
>Do you know which phase of the compile is causing the crash? Add -v to
>the gcc options, and see if it gets through the preprocessor to the
>actual compiler: that will at least tell me whether it is the size of
>the code or the size of the macro that is at fault...

Is _seems_ to crash in the preprocessor, as using -v I didn't see another
program get called.  768 functions is quite a lot for one file 'though :)

--
Andrew Ellem
krand AT ican DOT net

- Raw text -


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