make fails
John Ralls
jralls at ceridwen.us
Sun Dec 7 16:58:49 EST 2014
> On Dec 7, 2014, at 1:38 PM, Alex Aycinena <alex.aycinena at gmail.com> wrote:
>
> John,
>
> On F19, I get:
>
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp: In member function 'char* GncInt128::asCharBufR(char*) const':
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:801:47: error: expected ')' before 'PRIu64'
> next += sprintf (next, "%8.8" PRIu64, d[i - 1]);
> ^
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:801:63: error: conversion lacks type at end of format [-Werror=format=]
> next += sprintf (next, "%8.8" PRIu64, d[i - 1]);
> ^
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:801:63: error: too many arguments for format [-Werror=format-extra-args]
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:803:44: error: expected ')' before 'PRIu64'
> next += sprintf (next, "%" PRIu64, d[i - 1]);
> ^
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:803:60: error: spurious trailing '%' in format [-Werror=format=]
> next += sprintf (next, "%" PRIu64, d[i - 1]);
> ^
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/gnc-int128.cpp:803:60: error: too many arguments for format [-Werror=format-extra-args]
> At global scope:
> cc1plus: error: unrecognized command line option "-Wno-deprecated-register" [-Werror]
> cc1plus: all warnings being treated as errors
> make[5]: *** [gnc-int128.lo] Error 1
Interesting. That’s a subset of the gcc-4.7 failure. I’ve just pushed a fix, please try it.
Regards,
More information about the gnucash-devel
mailing list