fangmu / cpp-btree

Automatically exported from code.google.com/p/cpp-btree
Apache License 2.0
0 stars 0 forks source link

Suppress compiler warning #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling with: clang version 3.3 (trunk 173428)

Original issue reported on code.google.com by brooks.b...@gmail.com on 8 Feb 2013 at 11:23

Attachments:

GoogleCodeExporter commented 9 years ago
I have this fixed in the latest hg (not exactly your patch, but same idea).

Is there a way to make this work for both 64bit and 32bit builds?  This has 
been bothering me in other projects, as well.  On 64-bit int64_t is a long and 
needs %lu, on 32-bit int64_t is a long long and needs %llu. Hmmmmmmm.

Original comment by josh.mac...@gmail.com on 9 Feb 2013 at 7:06

GoogleCodeExporter commented 9 years ago
Answering my own question: Apparently not.
I've fixed this with std::cout. :-)
Latest hg.

Original comment by josh.mac...@gmail.com on 9 Feb 2013 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by josh.mac...@gmail.com on 9 Feb 2013 at 7:21

GoogleCodeExporter commented 9 years ago
Works for me.  Thanks!

Original comment by brooks.b...@gmail.com on 19 Feb 2013 at 11:35