Re: cbang build error on epel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Patch that line to read `sprintf(buf, "%0*" PRIo64, static_cast<long long unsigned int>(length - 1), n);` and you're cool. It might be related to how that particular gcc version in EPEL7 inherits those atomic data-types.

I've tried with that and this is what I get.

src/cbang/tar/TarHeader.cpp:226:80: error: field width specifier '*' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Werror=format=]
   sprintf(buf, "%0*" PRIo64, static_cast<long long unsigned int>(length - 1), n);
                                                                                ^
src/cbang/tar/TarHeader.cpp:226:80: error: format '%llo' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t {aka long unsigned int}' [-Werror=format=]

I've also sent a mail to ppc lists seems there is an issue somewhere in that platform.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux