Review Request 120832: Fix build with gcc-4.9

Heiko Becker heirecka at exherbo.org
Wed Oct 29 14:31:51 UTC 2014


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

(Updated Oct. 29, 2014, 2:31 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Utils.


Repository: kcalc


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
-----

  knumber/knumber_base.h e0792d359f29b061524c216d1858d5e4f6316bdd 

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


Testing
-------


Thanks,

Heiko Becker

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20141029/66484e5f/attachment.html>


More information about the Kde-utils-devel mailing list