On Friday, 17 April 2015 15:13:12 UTC+1, Dima Pasechnik wrote: > > this is now #18240 >
needs review now! > > On Friday, 17 April 2015 14:57:42 UTC+1, Dima Pasechnik wrote: >> >> bump, this is still not fixed in the MPIR we ship, causing pain and >> suffering such as here: >> http://trac.sagemath.org/ticket/18198 >> >> I'll open a ticket shortly. >> >> On Tuesday, 18 November 2014 14:39:32 UTC, Dima Pasechnik wrote: >>> >>> basically, current (upstream) normaliz does not compile with gcc 4.9.2; >>> (with Sage 4.5.beta0). >>> I tracked it down to the following test, showing that mpir(xx) does >>> something strange... >>> >>> $ cat b.cpp >>> #include <mpirxx.h> >>> int main() >>> { >>> return alignof(std::max_align_t); >>> } >>> >>> $ g++ -std=c++11 -c b.cpp >>> In file included from >>> /home/scratch/dimpase/sage/sage6.3/local/include/mpir.h:53:0, >>> from >>> /home/scratch/dimpase/sage/sage6.3/local/include/mpirxx.h:44, >>> from b.cpp:1: >>> /home/scratch/dimpase/sage/sage6.3/local/include/c++/4.9.2/cstddef:51:11: >>> >>> error: '::max_align_t' has not been declared >>> using ::max_align_t; >>> ^ >>> b.cpp: In function 'int main()': >>> b.cpp:6:20: error: 'max_align_t' is not a member of 'std' >>> return alignof(std::max_align_t); >>> >>> e$ g++ -v >>> Using built-in specs. >>> COLLECT_GCC=/home/scratch/dimpase/sage/sage6.3/local/bin/g++ >>> COLLECT_LTO_WRAPPER=/home/scratch/dimpase/sage/sage6.3/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper >>> >>> >>> Target: x86_64-unknown-linux-gnu >>> Configured with: ../src/configure >>> --prefix=/home/scratch/dimpase/sage/sage6.3/local >>> --with-local-prefix=/home/scratch/dimpase/sage/sage6.3/local >>> --with-gmp=/home/scratch/dimpase/sage/sage6.3/local >>> --with-mpfr=/home/scratch/dimpase/sage/sage6.3/local >>> --with-mpc=/home/scratch/dimpase/sage/sage6.3/local --with-system-zlib >>> --disable-multilib --disable-nls --enable-languages=c,c++,fortran >>> --disable-libitm >>> Thread model: posix >>> gcc version 4.9.2 (GCC) >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.