Mail Archives: djgpp/1997/09/26/12:00:24
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 -