Review Request 120832: Fix build with gcc-4.9

Heiko Becker heirecka at exherbo.org
Mon Oct 27 21:03:19 UTC 2014


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

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/20141027/737da4c2/attachment.html>


More information about the Kde-utils-devel mailing list