From: Tatsuro M. <tma...@ya...> - 2018-04-20 22:26:09
|
----- Original Message ----- > From: Hans-Bernhard Bröker > To: gnuplot-beta > Cc: > Date: 2018/4/21, Sat 06:55 > Subject: Re: Windows (native and Cygwin) build fail in internal.c > > Am 20.04.2018 um 02:48 schrieb Ethan A Merritt: >> As I understand it, the C99 standard requires that __PRI64_PREFIX >> is defined in the file <inttypes.h>. > > No, it doesn't require that. It requires macros PRId64 and friends to exist, > iff the compiler claims C99 conformance and has an int64_t. But that's > about it. > > The __PRI64_PREFIX you used is just an implementation detail of whatever libc > you looked at. Those two leading underscores (followed by anything else but > "STD") are pretty much a dead giveaway. As should be the fact that > this macro does not actually appear in any of the documentation ;-) > Commit [3a8253] solves the issue both on Cygwin and MinGW. Thanks! Tatsuro |