Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 3.2.0-rc1
-
None
-
MinGW
-
990cedeb1b5e3c492c7ca9316ec81cf5eb2f7ac1
Description
The following code causes a syntax error:
test.c
#include <stdio.h> #include <inttypes.h> int main(void) { uint64_t i = 4; printf("output: %"PRIu64" \n", i); return 0; }
This is a MinGW specific problem (works under Linux), since these constants are only defined in MinGW's inttypes.h when __cplusplus is not defined.