Mail Archives: djgpp/2004/12/19/17:16:21
I really appreciate the background information...
I am copying and pasting DIRECTLY from the _actual_
libc.info file itself, and this matches 100% my Text version.
...
`D'
A signed long integer
...
`U'
An unsigned long integer.
...
As you can plainly see, there is NO MENTION of the statement
"A signed long integer. This is non-standard and obsolete."
"Please use @code{ld} instead."
THUS my need to ask a few natural questions about things.
If may simply be, this additional clarification came later.
How I managed to forget about %h working alone as Short
which is actually a flag,
and %u which apparently is a specifier in & of itself, I am
not sure... Borland never flagged this error, and never
corrupted my stdout output as does DJGPP using certain
statements, that do not even flag errors.
printf("%lX ", value");
works, but later in some DJGPP-type sources, causes
_extraneous_ output to occur... make changes in totally
other locations, *NOT* doing any stdout put at all,
and totally UNrelated to where you placed printf(%lX ", value);
and presto! extraneous text mysteriously dissappears!
Almost as if internal storage space was somehow being
corrupted?
By the way, I am compiling under Win98SE, which normally
shouldn't be I problem I would think.
If just hope that DJGPP eventually starts supporting
strrev() which has always been comspicuous by its
strange absence.
DJGPP simply has many other wonderful features to
make up for its obvious, and well shared QUIRKS.
On Sun, 19 Dec 2004 11:19:37 -0500, DJ Delorie <dj AT delorie DOT com> wrote:
>
>> What is/was the purpose of %D, %U ?
>
>Please read the manuals!
>
>@item D
>
>A signed long integer. This is non-standard and obsolete.
>Please use @code{ld} instead.
>
>@item U
>
>An unsigned long integer. This is non-standard and obsolete.
>Please use @code{lu} instead.
>
>> What I did was to attempt to convert those *.info files into a more
>> useful *.txt files (that was done long ago),
>
>Info files are basically just text files already. Or you could have
>used an info viewer, like info.exe.
- Raw text -