Giter VIP home page Giter VIP logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
__int8 is internally typedefed to 'char', which is a separate type from 'signed 
char'.

Because the sign of 'char' is implementation defined by the C99 standard, 
it is necessary to replace the line:

typedef __int8            int8_t;

to be:

typedef signed __int8            int8_t;

in order to be standards compliant.

This bug is significant because 'signed char' and 'char' must be specialized for
separately even if 'char' is signed, and that results in bugs if this line is 
not
fixed as shown above.

Original comment by [email protected] on 16 Sep 2009 at 10:02

from msinttypes.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Yep, exactly.  Finding this bug was a huge pain in the ass; I use this header 
in my
Duke Nukem 3D port (it's called EDuke32) and it lead to all kinds of strange 
crap
occurring with completely nonsensical debugger output.

Hope this project isn't dead/hope this important bug doesn't go ignored!  
Actually, I
hope Microsoft pulls their collective heads out of their asses and just 
implements
most of C99, but fat chance that's ever going to happen.

Original comment by [email protected] on 17 Sep 2009 at 7:00

from msinttypes.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Sorry guys, this project is not dead, I just have not so much free time.
You know, the best way to fix a bug is to attach a patch to bug report ;)

Anyway, this should be fixed now in r25. Please check it out.

Original comment by alexander.chemeris on 17 Sep 2009 at 7:52

  • Changed state: Fixed

from msinttypes.

Related Issues (16)

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.