[Kmymoney-devel] Review Request 122441: Fix build with gcc-4.9 and gmp <= 5.1.3

Heiko Becker heirecka at exherbo.org
Thu Feb 5 14:28:41 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122441/
-----------------------------------------------------------

Review request for KMymoney and Cristian Oneț.


Repository: alkimia


Description
-------

>From https://gcc.gnu.org/gcc-4.9/porting_to.html:
"The <cstddef> header was updated for C++11 support and this breaks
some libraries which misuse macros meant for internal use by GCC
only. For instance with GMP versions up to 5.1.3, you may see:

/usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not
been declared using ::max_align_t;

A workaround until libraries get updated is to include <cstddef> or
<stddef.h> before any headers from that library."


Diffs
-----

  libalkimia/alkvalue.h 7c02403 

Diff: https://git.reviewboard.kde.org/r/122441/diff/


Testing
-------

Successfully built with gcc-4.9.2 and gmp-5.1.3.


Thanks,

Heiko Becker

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20150205/21655af8/attachment.html>


More information about the KMyMoney-devel mailing list