11

I am receiving this error while compiling a C program in MinGW. As far as I know, I thought 'intptr_t' was a type in the C99 standard. Am I not including a file?

4

1 回答 1

23

You need to include stdint.h.

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

于 2012-01-28T00:57:48.930 回答