Error: unknown type name 'intptr_t'

I get this error when compiling a C program in MinGW. As far as I know, I thought "intptr_t" was a type in the C99 standard. I do not include the file?

+4
source share
1 answer

You need to enable stdint.h .

Note that intptr_t and uintptr_t are indeed C99 types, but they are optional.

+15
source

Source: https://habr.com/ru/post/1393467/


All Articles