discuss-gnustep
[Top][All Lists]
Advanced

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

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


From: Manuel Guesdon
Subject: Re[2]: Can't use long long variables?
Date: Sat, 28 Feb 2004 13:17:30 +0100 (CET)

On Fri, 27 Feb 2004 20:12:07 -0700 Adam Fedor <fedor@doc.com> 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 
 >| >> <Philip.Moetteli@tele2.ch> 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-3.2.2 (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk):  Not defined

Manuel
-- 
______________________________________________________________________
Manuel Guesdon - ORANGE CONCEPT <mguesdon@orange-concept.com>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0997  -  Fax: +33 1 4940 0998





reply via email to

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