Gentoo Archives: gentoo-user-hu

From: MOLNAR Peter <mp428@××××××××.hu>
To: Magyar Gentoo lista <gentoo-user-hu@l.g.o>
Subject: [gentoo-user-hu] OFF: C unsigned long long tipus
Date: Fri, 20 Aug 2004 16:41:32
Message-Id: 1093020335.7321.10.camel@mp
1 Sziasztok!
2
3 Bocs az OFF-ert, de nem ertek valamit. Adott egy C program, amiben van
4 egy unsigned long long tipusu valtozo. Ha megprobalok neki ertekul adni
5 egy 0xFFFFFFFFFFFFFFFF konstanst, es erre a fordito warning-ot ad, hogy
6 az ertek tul nagy a long tipushoz.
7
8 myprog.c:120: warning: integer constant is too large for "long" type
9
10 Ellenoriztem, es az erteke annyi, amit adtam neki (nincs overflow).
11 Akkor miert ad warning-ot?
12
13 Koszi.
14 --
15 MOLNAR Peter <mp428@××××××××.hu>
16
17
18 --
19 gentoo-user-hu@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-hu] OFF: C unsigned long long tipus ZsoL <zsol@×××××××××××××.net>