Issue with "old" versions of gmp/mpir and "recent" versions of GCC

3 views
Skip to first unread message

Jean-Pierre Flori

unread,
Aug 17, 2016, 9:36:28 AM8/17/16
to libsingular-devel
Hi all,

Here is another issue I encountered recently:
gfanlib cannot be built against pre 6.0.0 gmp versions (and any version of MPIR up to now). and post 4.9 versions of GCC.
The issue is about ::max_align_t
See https://gcc.gnu.org/gcc-4.9/porting_to.html
The fix/workaround is quite easy: include <cstddef> or <stddef.h> before "gmp.h" in gfanlib_z.h.

Best,
JP

han...@mathematik.uni-kl.de

unread,
Aug 17, 2016, 10:35:24 AM8/17/16
to libsingu...@googlegroups.com
Thanks, is fixed now.

Hans
Reply all
Reply to author
Forward
0 new messages