#include curl
into its own namespace %I64d
throws no warning on MinGW%lld
and throws warning: unknown conversion type character 'l' in format
__mingw_printf
ignore the compile time warning that is unrelatedz
is not supported: https://learn.microsoft.com/en-us/previous-versions/tcxf1dw6(v=vs.140)?redirectedfrom=MSDN__mingw_printf
ignore the compile time warning that is unrelated __mingw_printf
anyway; it's certainly not available when compiling with msvcwarning: format not a string literal, argument types not checked [-Wformat-nonliteral]
size_t
argument to %zusize_t
argument to %zu printf
#include <cstdio>
int main() {
printf("%d %d %d %d %d %d %d %d %zx\n", 0, 0, 0, 0, 0, 0, 0, 0, (size_t)0x123456789abcdef0);
}
return 0;
)c++
#ifdef __MINGW32__
#undef PRId64
#define PRId64 "I64d"
#endif
#include <cstdio>
int main() {
printf("%d %d %d %d %d %d %d %d %zx\n", 0, 0, 0, 0, 0, 0, 0, 0, (size_t)0x123456789abcdef0);
}
-Wno-warning-name
in CMakeLists.txt./DDNet "dbg_gfx 4"
, it segfaults due to formatting./DDNet "dbg_gfx 4"
, it segfaults due to formatting c++
#ifdef __MINGW32__
#undef PRId64
#define PRId64 "I64d"
#endif
dbg_msg << "some text" << integer
$
in data/languagesrun_tests
run_rust_tests
in the makefile but I don't see a way to only run the non-rust teststestrunner
builds it but doesn't run it, so i guess it's fine for now$ time ninja run_rust_tests
real 0m20,192s
src/rust-bridge/test/*.rs
touch src/**/*.rs
$ touch src/rust-bridge/test/*.rs
$ time ninja run_rust_tests
real 0m31,674s