make fails

Alex Aycinena alex.aycinena at gmail.com
Sun Dec 7 16:38:59 EST 2014


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

Regards,

Alex

On Sun, Dec 7, 2014 at 1:35 PM, Alex Aycinena <alex.aycinena at gmail.com>
wrote:

> John,
>
> After your patch 495c939c, on F20, I get:
>
> swig-engine.c: In function '_wrap_pwr64':
> swig-engine.c:18448:3: error: implicit declaration of function 'pwr64'
> [-Werror=implicit-function-declaration]
>    result = pwr64(arg1,arg2);
>    ^
> cc1: all warnings being treated as errors
> make[5]: *** [libgncmod_engine_la-swig-engine.lo] Error 1
>
> I get a different error of F19, which I will shortly send you.
>
> Regards,
>
> Alex
>
> On Sun, Dec 7, 2014 at 1:05 PM, John Ralls <jralls at ceridwen.us> wrote:
>
>>
>> > On Dec 7, 2014, at 12:09 PM, Derek Atkins <derek at ihtfp.com> wrote:
>> >
>> > John,
>> >
>> > On Sun, December 7, 2014 2:52 pm, John Ralls wrote:
>> >>
>> >>
>> >> It still won’t build on F18 or Debian Wheezy. There’s a problem with
>> GCC
>> >> 4.7, used in both, such that it doesn’t recognize the C99 standard
>> >> sized-integer macros, e.g. UINT64_MAX, and the work-arounds I’ve found
>> so
>> >> far don’t.
>> >
>> > What's the error message on those systems?  UINT64_MAX has been around
>> for
>> > a very long time, IIRC.  Maybe they need a special header #included?
>>
>> Your suggestion on IRC that to be sure that the __STDC_FOO_MACROS macros
>> were defined before *any* includes was the key: stdint.h was getting
>> included from inttypes.h before the spot I was inserting them.
>>
>> Thanks!
>>
>> Regards,
>> John Ralls
>>
>>
>


More information about the gnucash-devel mailing list