Compile error with GCC 4.9

leif not.really at online.de
Fri May 2 15:20:22 UTC 2014


On 02.05.2014 16:28, Jaak Ristioja wrote:
> Hello!
>
> In file included from /home/user/prefix/include/gmp.h:51:0,
>                   from /home/user/prefix/include/gmpxx.h:33,
>                   from /home/user/test.cpp:1:
> /home/user/prefix/include/c++/4.9.0/cstddef:51:11: error:
> '::max_align_t' has not been declared
>     using ::max_align_t;
>
> Even http://gcc.gnu.org/gcc-4.9/porting_to.html bashes GMP for this.

"For instance with GMP versions up to 5.1.3, you may see ..."

> Probably related to __need_size_t?

Works for me with GMP 6.0.0, released March 2014.


-leif

-- 
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail


More information about the gmp-bugs mailing list