[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pspp rc4 on Mac: pfm-write errors
From: |
John Darrington |
Subject: |
Re: pspp rc4 on Mac: pfm-write errors |
Date: |
Wed, 27 Jul 2005 08:54:05 +0800 |
User-agent: |
Mutt/1.5.9i |
Tue, Jul 26, 2005 at 08:37:30PM -0400, Marshall DeBerry wrote:
John Darrington wrote:
I get a number of "integer overflow in expression" warnings, and then a
"parse error before ';' token".
Sorry. The semicolon should have been outside the braces, like this:
#include <stdio.h>
int
main(int argc, char **argv)
{
static const double foo[1] =
{
30 * 30 * 30 * 30 * 30 * 30 * 30 *
30 * 30 * 30 * 30 * 30 * 30 * 30 *
30 * 30 * 30 * 30 * 30 * 30 * 30
};
printf("%g\n",foo[0]);
}
I'm going to file a bug report on the GCC compiler with Apple, and use the
pfm_write.c module as the example.
The Apple people are much more likely to act on a bug report if you can give
them a very concise test case. If the above works, then try replacing
30 with (long double) 30 and see what happens.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- Re: pspp rc4 on Mac: pfm-write errors, (continued)
- Re: pspp rc4 on Mac: pfm-write errors, John Darrington, 2005/07/25
- RE: pspp rc4 on Mac: pfm-write errors, Marshall DeBerry, 2005/07/25
- Re: pspp rc4 on Mac: pfm-write errors, Ben Pfaff, 2005/07/26
- Re: pspp rc4 on Mac: pfm-write errors, John Darrington, 2005/07/26
- Re: pspp rc4 on Mac: pfm-write errors, Dr Eberhard W Lisse, 2005/07/26
- Re: pspp rc4 on Mac: pfm-write errors, Ben Pfaff, 2005/07/31
- Re: pspp rc4 on Mac: pfm-write errors, Dr Eberhard W Lisse, 2005/07/26
- RE: pspp rc4 on Mac: pfm-write errors, Marshall DeBerry, 2005/07/26
- Re: pspp rc4 on Mac: pfm-write errors,
John Darrington <=
- RE: pspp rc4 on Mac: pfm-write errors, Marshall DeBerry, 2005/07/26
- Re: pspp rc4 on Mac: pfm-write errors, John Darrington, 2005/07/26
Cant reproduce the Mac problem., John Darrington, 2005/07/27
Re: release candidate 4 available, John Darrington, 2005/07/25