#18240: fix MIPRs compliance with c++
-------------------------+-------------------------------------------------
   Reporter:  dimpase    |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.7
  Component:  number     |         Keywords:
  theory                 |          Authors:
  Merged in:             |  Report Upstream:  Reported upstream. Developers
  Reviewers:             |  acknowledge bug.
Work issues:             |           Branch:
     Commit:             |     Dependencies:
   Stopgaps:             |
-------------------------+-------------------------------------------------
 with gcc 4.9.2, we hit this bug:

 [https://gcc.gnu.org/gcc-4.9/porting_to.html Header <cstddef> changes]
 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;
 }}}

 This has hit here: #18198, see also
 [https://gcc.gnu.org/gcc-4.9/porting_to.html sage-devel thread]

 The workaround suggested appears to work. A patch follows shortly.

--
Ticket URL: <http://trac.sagemath.org/ticket/18240>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to