openframeworks/openFrameworks — Issue #917: add global stdint.h support?
Author: kylemcdonald
Created: 2012-02-15 02:38:17+00:00
State: open

vs2010 does not include stdint.h support:

http://stackoverflow.com/questions/126279/c99-stdint-h-header-and-ms-visual-studio

which causes addon bugs like this:

https://github.com/openframeworks/openFrameworks/issues/559
https://github.com/kylemcdonald/ofxCv/issues/28

even though these bugs aren't in the core, i think OF is designed to make it easy for people to write cross-platform, cross-compiler code. so i propose that we add an explicit declaration of the missing types for vs2010.

this isn't really something i'm worried about directly since i don't use vs2010, but i know people like elliot do. and it would be cleaner to add it once to the core than to add it once for every addon that is broken.

the solution would probably look like: take dan's code from the above issue, and move it from ofxOsc into the core.