printf and long long
Tue Apr 29 09:19:00 GMT 1997
On Mon, 28 Apr 1997 11:09:32 -0400, you Marc Auslander
>My problem is with gcc cygnus-2.7.2-961023 running on Windows 95. I
>have no problem with gcc 22.214.171.124 on AIX, for example. It appears from
>your note that you tried a BSD gcc, and it also works.
>By the way, according to the gnu libc info, q is the BSD name for ll,
>and the libaray in fact supports ll, L and q as synonyms.
And there lies the problem. cygwin32 does not use the GNU libc library
(if they did, they would not be able to require people to buy a license
from them to keep from releasing their source code). Instead, it uses
"newlib," with the source for the functions in question
Copyright (c) 1990 The Regents of the University of California.
All rights reserved.
Looking at the code, l is long ints, L is for long doubles, ll is
supposed to be for long long ints (QUADINTs), and q is also for long
long ints. If things are not working like this, you'll need to take a
look at cdk/src/newlib/stdio/vfprintf.c to attempt to find the
James Dumser 972-462-5335 email@example.com
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin