jbandela/cpp-btree

Suppress compiler warning

GoogleCodeExporter opened this issue · 4 comments

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:

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

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

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

  • Changed state: Started
Works for me.  Thanks!

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