Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-hu
Navigation:
Lists: gentoo-user-hu: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-hu@g.o
From: E-mber <ispanov@...>
Subject: Re: OFF: C unsigned long long tipus
Date: Sun, 22 Aug 2004 22:55:44 +0200
ZsoL írta:

>On Friday 20 August 2004 18.45, MOLNAR Peter wrote:
>  
>
>>Sziasztok!
>>
>>Bocs az OFF-ert, de nem ertek valamit. Adott egy C program, amiben van
>>egy unsigned long long tipusu valtozo. Ha megprobalok neki ertekul adni
>>egy 0xFFFFFFFFFFFFFFFF konstanst, es erre a fordito warning-ot ad, hogy
>>az ertek tul nagy a long tipushoz.
>>
>>myprog.c:120: warning: integer constant is too large for "long" type
>>
>>Ellenoriztem, es az erteke annyi, amit adtam neki (nincs overflow).
>>Akkor miert ad warning-ot?
>>
>>Koszi.
>>    
>>
>Mijaza unsigned long long?
>
>  
>
Szeva

Nem tudom, hogy a gcc szerint mi a felső határ de a LIMITS.H -bő idézve ez:

unsigned long int

# define ULONG_MAX 18446744073709551615UL
# else
# define ULONG_MAX 4294967295UL


--
gentoo-user-hu@g.o mailing list

References:
OFF: C unsigned long long tipus
-- MOLNAR Peter
Re: OFF: C unsigned long long tipus
-- ZsoL
Navigation:
Lists: gentoo-user-hu: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: OFF: C unsigned long long tipus
Next by thread:
mozilla problem INTERNAL ERROR on Browser end
Previous by date:
Re: OFF: C unsigned long long tipus
Next by date:
mozilla problem INTERNAL ERROR on Browser end


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-hu mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.