This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Portability of libstdc++ implementation to other compilers.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Matthew Markland <marklandm at acm dot org>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 13 Aug 2014 23:41:14 +0100
- Subject: Re: Portability of libstdc++ implementation to other compilers.
- Authentication-results: sourceware.org; auth=none
- References: <CADVWeu_Z38tWOMTxA7ZuAieUKABOJETPadsm8Ywaqey2ig1eyQ at mail dot gmail dot com>
On 13/08/14 14:35 -0500, Matthew Markland wrote:
I apologize for what may be a naive question. From examination it
appears that the libstdc++ implementation makes use of many gcc
extensions thereby limiting the portability of it to other compilers
that don't support said extensions. Is this a fair statement in your
eyes as the developers and maintainers?
Yes.
But at least Clang and Intel's compiler (and maybe other EDG-based
compilers) support enough of those gcc extensions to be able to use
the libstdc++ headers.
If you wanted to use it with some other compiler it would need to
support those extensions too.