Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 15:04:00 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "Montgomery-Smith, Stephen" <stephen@missouri.edu>
Cc:        Greg Rivers <gcr+freebsd-ports@tharned.org>, =?iso-8859-1?Q?Jouko_Lumij=E4rvi?= <jlumijar@sun3.oulu.fi>, ajtiM <lumiwa@gmail.com>, FreeBSD Ports <freebsd-ports@FreeBSD.org>, "GeorgSWeber@googlemail.com" <GeorgSWeber@googlemail.com>, Kostas Oikonomou <k.oikonomou@att.net>, Daniel Smith <des006@ucsd.edu>
Subject:   Re: Sage update
Message-ID:  <77C2202A-EBF2-48AE-9FF7-1C39B86E0E44@FreeBSD.org>
In-Reply-To: <5376C8D2.30102@missouri.edu>
References:  <52E9A43A.7010006@missouri.edu> <52E9AA34.9060909@missouri.edu> <52EEFBE5.1020807@missouri.edu> <52F16905.4060306@missouri.edu> <52F5BFC0.7070305@missouri.edu> <5376C8D2.30102@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E420BE88-0460-408F-89BD-0F9077A6A292
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 17 May 2014, at 04:26, Montgomery-Smith, Stephen =
<stephen@missouri.edu> wrote:
> I have started to think about making sage compatible with FreeBSD-10.
> The main problem thus far is that clang's c++ compiler is missing some
> stuff like the include file ext/numeric.

That header is not missing, it became standardized, so use <numeric>
instead.  The libstdc++ developers added a bunch of upcoming things into
the ext/ and tr1/ subdirectories in the past, but there is really no
need to use these anymore, these days.


> I don't know if clang's c++ compiler is far behind gcc-4.7, or whether
> it is a question of merely copying a few include files from gcc-4.7.

It is really the other way around; the C++ support in clang 3.4 is more
advanced than the gcc 4.7 port.  Clang 3.4 supports all of the C++11
standard, and some bits of the upcoming C++1y standard.  According to
gcc's own status pages, gcc 4.7 "implements much of the C++11 standard",
and for gcc 4.8, "as of GCC 4.8.1, GCC's C++11 mode implements all of
the major features of the C++11 standard".

-Dimitry


--Apple-Mail=_E420BE88-0460-408F-89BD-0F9077A6A292
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlN3XkcACgkQsF6jCi4glqPv1wCfUFEluCcYe5AiTeVMbxByMl9E
mnoAn1RIwlZZselP4Os6HlgFlxK2BXEz
=3k6p
-----END PGP SIGNATURE-----

--Apple-Mail=_E420BE88-0460-408F-89BD-0F9077A6A292--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77C2202A-EBF2-48AE-9FF7-1C39B86E0E44>