inttypes.h
is a C99 file and MPLAB C18 only supports C89.
How do I solve this problem and same problems?
inttypes.h
defines some macros and includes stdint.h
C99 header. Try to remove the include line of inttypes.h
in your source file and declares yourself the missing types (like typedef unsigned char uint8_t;
, etc.).