unknown type name 'uint8_t', MinGW

75

I get "unknown type name 'uint8_t'" and others like it using C in MinGW. Any ideas how to solve this?

This question is tagged with c windows mingw

~ Asked on 2012-01-21 13:20:29

The Best Answer is


146

Try including stdint.h or inttypes.h.

~ Answered on 2012-01-21 13:21:59


18

To use uint8_t type alias, you have to include stdint.h standard header.

~ Answered on 2012-01-21 13:24:19


Most Viewed Questions: