On Sat, 2007-09-29 at 10:02 +0200, Paul J Stevens wrote: > Aaron Stone wrote: > > On Sat, 2007-09-29 at 11:28 +0800, zamri wrote: > > > >> I still got these 2 warnings as in previous versions during > >> compilation: > >> > >> warning: format '%llu' expects type 'long long unsigned int', but > >> argument 7 has type 'guint64' > >> warning: format '%llu' expects type 'long long unsigned int', but > >> argument 4 has type 'long unsigned int' > > > > These warnings are harmless, as the data types are in fact the same. > > Hopefully the glib and gcc folks will work these warnings out; we're > > just using the portable declarations that glib defines. > > Are they the same? guint64 is guaranteed to be 64 bits wide, but a long > long unsigned int on a amd64 is 128 bits right?
Quick table: http://blogs.sun.com/nike/entry/ilp64_lp64_llp64 For way too much detail: http://yarchive.net/comp/longlong.html There are no 128 bit numbers in the C standard yet. Aaron _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
