discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Can't use long long variables?


From: Dennis Leeuw
Subject: Re: Can't use long long variables?
Date: Sat, 28 Feb 2004 16:21:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Philip Mötteli wrote:
Am 28.02.2004 um 13:17 schrieb Manuel Guesdon:

On Fri, 27 Feb 2004 20:12:07 -0700 Adam Fedor <address@hidden> wrote:

| On Friday, February 27, 2004, at 05:43 PM, Fred Kiefer wrote:
| > Manuel Guesdon wrote:
| >> On Fri, 27 Feb 2004 08:34:52 +0100 Philip Mötteli
| >> <address@hidden> wrote:
| >>  >|  >| Am 27.02.2004 um 00:26 schrieb Chris B. Vetter:
| >> >| > 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.
| >
| > Is there any way to include this setting into make? Up to now I always
| > took it for granted that my Suse Linux didn't have long long support
| > and never thought about it.
| >
|
| I don't know why it isn't automatically defined. From what I've read
| via google, if you need it, you should just define it.  Although I
| think we might have to think a little about the implications of
| defining it everywhere.  I'd prefer just to define it where it is
| needed.


I've made some search when I've got the problem and it seems this problem come from a wrong
version of gcc or it's libraries.
Could some people check if long long is enabled 'by default' on their version (grep HANDLE.*LONG core/base/Source/config.h) and
report system and gcc version.


gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
/* #undef HANDLE_LLONG_MAX */
/* #undef HANDLE_LONG_LONG_MAX */


gcc (GCC) 3.3.1 (SuSE Linux)
/* #undef HANDLE_LLONG_MAX */
#define HANDLE_LONG_LONG_MAX 1

Debian Testing
gcc (GCC) 3.3.3 20040125

/* #undef HANDLE_LLONG_MAX */
/* #undef HANDLE_LONG_LONG_MAX */




Re
Phil



_______________________________________________
Discuss-gnustep mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/discuss-gnuste
p






reply via email to

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