Giter Site home page Giter Site logo

Build fail about codegoogle.anic HOT 3 OPEN

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Build fail

from codegoogle.anic.

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
The loss of precision error is identical to the build failure reported under 
Mac OS X when the target platform is x86_64. The solution is the same: change 
the cast from `(unsigned int)` to `(uintptr_t)`. This avoids assumptions about 
pointer width.

One way to avoid the format error is to cast the argument to match the expected 
type. However, since the declared type of the value is `uint64_t`, a better 
solution would likely be:

    #define __STDC_FORMAT_MACROS
    #include <inttypes.h>

and then use the format specifier `PRIx64`.

A patch is attached.

Original comment by [email protected] on 16 Nov 2010 at 2:02

Attachments:

from codegoogle.anic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Issue 10 has been merged into this issue.

Original comment by [email protected] on 17 Nov 2010 at 7:38

from codegoogle.anic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
the patch that jermy made worked great for me running 64bit ubuntu i think it 
shoul be applied to the main repo

Original comment by [email protected] on 18 Aug 2012 at 8:57

from codegoogle.anic.

Related Issues (12)

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.