[MacPorts] #66042: icu-devel 72.1 fails to build on 10.6.8: error: expected ':' before 'PRId64'
MacPorts
noreply at macports.org
Fri Oct 21 05:58:30 UTC 2022
#66042: icu-devel 72.1 fails to build on 10.6.8: error: expected ':' before
'PRId64'
--------------------------+-----------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: | Port: icu-devel
--------------------------+-----------------------
{{{
writesrc.cpp: In function 'void usrc_writeArray(FILE*, const char*, const
void*, int32_t, int32_t, const char*, const char*)':
writesrc.cpp:202:34: error: expected ':' before 'PRId64'
202 | fprintf(f, value<=9 ? "%" PRId64 : "0x%" PRIx64, value);
| ^~~~~~~
| :
writesrc.cpp:35:1: note: 'PRId64' is defined in header '<cinttypes>'; did
you forget to '#include <cinttypes>'?
34 | #include "util.h"
+++ |+#include <cinttypes>
35 |
writesrc.cpp:202:35: error: 'PRId64' was not declared in this scope
202 | fprintf(f, value<=9 ? "%" PRId64 : "0x%" PRIx64, value);
| ^~~~~~
writesrc.cpp:202:35: note: 'PRId64' is defined in header '<cinttypes>';
did you forget to '#include <cinttypes>'?
}}}
Identical failure on 10.6 PPC too.
--
Ticket URL: <https://trac.macports.org/ticket/66042>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list