Giter VIP home page Giter VIP logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
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 [email protected] on 13 Jul 2010 at 3:39

  • Changed title: Compiling problem - g++ doesn't recognize 0bXXXX binary notation
  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

from logkeys.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Issue 39 has been merged into this issue.

Original comment by [email protected] on 12 Aug 2010 at 7:41

  • Added labels: ****
  • Removed labels: ****

from logkeys.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
cool... when will the next release be out? 
thanks!!

Original comment by [email protected] on 13 Aug 2010 at 6:03

  • Added labels: ****
  • Removed labels: ****

from logkeys.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
managed to fix it by doing the suggested changes.. works fine now!

Original comment by [email protected] on 13 Aug 2010 at 4:51

  • Added labels: ****
  • Removed labels: ****

from logkeys.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Issue 52 has been merged into this issue.

Original comment by [email protected] on 18 Jan 2011 at 2:14

  • Added labels: ****
  • Removed labels: ****

from logkeys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.