Closed 12932 closed 4 months ago
I was able to work around this issue by defining:
Before #include
Inside TracySystem.cpp
Similar to this issue https://stackoverflow.com/questions/14535556/why-doesnt-priu64-work-in-this-code
This seems to be a defect in the compiler. The C++11 standard (N3337) states in 27.9.2.3:
Table 135 describes header
<cinttypes>
. [ Note: The macros defined by<cinttypes>
are provided uncon- ditionally. In particular, the symbol__STDC_FORMAT_MACROS
, mentioned in footnote 182 of the C standard, plays no role in C++. — end note ]
Consider adding -D__STDC_FORMAT_MACROS=1
to your build system as a workaround.
Trying to build Tracy targeting an embedded device, using a cross-compiler
gcc-5.2.0 glibc-2.17
I've searched for this error but couldn't find anyone having the same issue. Any ideas?