discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Can't use long long variables?


From: Philip Mötteli
Subject: Re: Re[2]: Can't use long long variables?
Date: Fri, 27 Feb 2004 11:36:49 +0100

Am 27.02.2004 um 09:44 schrieb Manuel Guesdon:
On Fri, 27 Feb 2004 08:34:52 +0100 Philip Mötteli <Philip.Moetteli@tele2.ch> wrote:
| Am 27.02.2004 um 00:26 schrieb Chris B. Vetter:
|
| > On Fri, 27 Feb 2004 00:01:25 +0100
| > Philip Mötteli <Philip.Moetteli@tele2.ch> wrote:
| > [...]
| >> #  ifdef __USE_ISOC99
| >> /* Minimum and maximum values a `signed long long int' can hold. */
| >> #   define LLONG_MAX    9223372036854775807LL
| >> #   define LLONG_MIN    (-LLONG_MAX - 1LL)
| > [...]
| >> #  ifndef LLONG_MIN
| >> #   define LLONG_MIN    LONG_LONG_MIN
| >> #  endif
| >> #  ifndef LLONG_MAX
| >> #   define LLONG_MAX    LONG_LONG_MAX
| >> #  endif
| > [...]
| >
| > This looks like a compiler (include) problem. You might want to try out | > Manuel's suggestion and export -D_GNU_SOURCE before your run configure.
|
| I did this, but I have the impression, this haven't given any more
| information:
|
| server:/usr/src/gnustep/core/base # env|grep CFLAGS
| CFLAGS=-D_GNU_SOURCE
| server:/usr/src/gnustep/core/base # pwd
| /usr/src/gnustep/core/base
| server:/usr/src/gnustep/core/base # env|grep CPPFLAGS
| CPPFLAGS=-D_GNU_SOURCE
....
| checking whether precompiler handles LONG_LONG_MAX... yes
...
Should be OK.

Strange! I mean, I didn't change anything, except setting those exports and now it seems to work. At least I don't see the exception any more. I still have a crash though… But I will investigate that soon…


Thanks
Phil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]