#18240: fix MPIR's compliance with c++
-------------------------------------+-------------------------------------
       Reporter:  dimpase            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:  Jakob Kroeker, Leif
        Authors:  Dima Pasechnik     |  Leonhardy
Report Upstream:  Reported           |  Work issues:
  upstream. Developers acknowledge   |       Commit:
  bug.                               |  6785ef2000d220f511fcf3e9830b05099500ef47
         Branch:  u/dimpase/18240    |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by leif):

 * reviewer:   => Jakob Kroeker, Leif Leonhardy


Comment:

 Replying to [comment:28 leif]:
 > Replying to [comment:22 jakobkroeker]:
 > > it seems that the HAVE_MPZ_INT64_CONVERSION check by the configure
 script fails in case
 > > g++ is used without enabling c++ 2011 standard. When using g++ with
 '-std=c++11'  flag (or similar), the  HAVE_MPZ_INT64_CONVERSION check
 should succeed and define '_4ti2_HAVE_MPZ_INT64_CONVERSION'.

 As posted, they fail, but for a different reason... (see below)

 > Haven't digged deeper yet.  (Should take a look at the `config.log`s,
 and `configure`.)

 Ok, sorry, my bad:  I had only rebuilt MPIR with GCC 5.1, and so 4ti2's
 conversion checks failed with the earlier versions (4.8.4 and 4.9.2) due
 to a rather unrelated linker error.

 [[BR]]

 Dima, if nobody objects, I think you can set the ticket to positive
 review.  (Although "GCC 4.9 work-around" stills seems a bit misleading, as
 it's not a compiler bug. ;-) )

--
Ticket URL: <http://trac.sagemath.org/ticket/18240#comment:29>
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