Mail Archives: djgpp-workers/2003/04/26/14:06:52
> Date: Sat, 26 Apr 2003 08:35:51 -0400
> From: CBFalconer <cbfalconer AT yahoo DOT com>
>
> In my particular case it wouldn't work cleanly. I have gcc set up
> to automatically use -W -Wall -ansi -pedantic (via a 4dos alias).
> However I can still access those things with a #include
> <malldbg.h> for compilation from the command line, thus overriding
> the -pedantic for those things alone.
What would be the purpose of such a trick? A program compiled with
strict ANSI compliance cannot possibly use a non-ANSI library
function, or else it invades the user's namespace.
If you do that to get a better compiler diagnostics, simply add more
"-Wfoo" warning switches to the command line.
> It is no big deal as long as someone else does the integration
> into stdlib.h, but I consider it easier to keep them separate.
Dropping the necessary additions into the non-ANSI, non-Posix portion
of stdlib.h is not hard. I'd suggest that you do that, it will
probably make the code be accepted faster.
> Can you make that .txh I sent work correctly and send it back, so
> I can edit it again?
I asked for diffs, not the entire file. The file is large, so I
didn't want to spend my time finding the differences between the CVS
version and the one you produced.
If you send diffs, I promose to review them and get back to you.
> I plan to split the malldbg section off from
> the malloc section, so only the new stuff gets altered.
It doesn't matter: even if the malldbg section is split, we still ask
for diffs, not a full new version each time.
> I need the proper outline of things, so I just fill in the blanks.
??? The outline is already there: you see it in the original
malloc.txh. Or maybe I don't understand what outline you need.
- Raw text -