Closed GoogleCodeExporter closed 9 years ago
Hi,
It seems Ubuntu 8.04 came with too old g++ compiler, which does not yet
recognize 0bXXXX as static binary notation (compared to 0xXXXX hexadecimal,
which it does).
To solve your problem, you should either update your Ubuntu: latest stable is
Ubuntu 10.04 (Lucid Lynx) ← recommended ;)
If that is not an option, you can open src/args.cc and starting on line 28
http://code.google.com/p/logkeys/source/browse/trunk/src/args.cc?r=43#28
you should see these binary definitions, which you should change to hexadecimal
in the following manner:
0b1 → 0x1
0b10 → 0x2
0b100 → 0x4
0b1000 → 0x8
0b10000 → 0x10
0b100000 → 0x20
(fixed:
http://code.google.com/p/logkeys/source/browse/trunk/src/args.cc?r=67#28)
Then, I belive, it should compile fine.
I have already fixed it in the repository (r67), so the fix will become common
with the next release.
Thanks for the report!
Original comment by kernc...@gmail.com
on 13 Jul 2010 at 3:39
Issue 39 has been merged into this issue.
Original comment by kernc...@gmail.com
on 12 Aug 2010 at 7:41
cool... when will the next release be out?
thanks!!
Original comment by jove...@gmail.com
on 13 Aug 2010 at 6:03
managed to fix it by doing the suggested changes.. works fine now!
Original comment by jove...@gmail.com
on 13 Aug 2010 at 4:51
Issue 52 has been merged into this issue.
Original comment by kernc...@gmail.com
on 18 Jan 2011 at 2:14
Original issue reported on code.google.com by
ivan.mer...@gmail.com
on 13 Jul 2010 at 7:19