it won't work, I am using C++. the #ifdef specifically excludes C++:
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS)
/* 7.8.1 Macros for format specifiers
*
* MS runtime does not yet understand C9x standard "ll"
* length specifier. It appears to treat "ll" as "l".
* The non-standa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 21.06.2014 22:06, schrieb Kai Tietz:
> 2014-06-21 18:10 GMT+02:00 André Hentschel :
>> Am 21.06.2014 17:10, schrieb André Hentschel:
>>> Hi,
>>> this time i just put some commits on github for review [1],
>>> so please review, then i'll commit it ex
If you are using c++ you are expected to #include and #include
and use std::printf.
ISO C++ provides *.h for compatibility with ISO C only.
// -std=c++11 passed.
#include
#include
int main(void) {
std::printf("abc%" PRIu64 "def", 12ull);
return 0;
}
--
It should be PRIu64 instead of PRSIu64.
--
Best regards,
lh_mouse
2014-06-22
-
发件人:Jim Michaels
发送日期:2014-06-22 08:23
收件人:Mingw64 Users
抄送:
主题:[Mingw-w64-public] problem with compiler not c