tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Selecting a C++ compiler

On Thu, Oct 12, 2017 at 07:28:18PM -0400, Greg Troxel wrote:
> Joerg Sonnenberger <> writes:
> > On Tue, Oct 10, 2017 at 08:01:28PM -0500, Jason Bacon wrote:
> >> According to GNU, the full c++11 standard is supported by 4.8.1:
> >
> > The std::string implementation before GCC 5 blatantly violates C++11
> > requirements. It is a well known issue and resulted in the dual abi mess
> > as "fix".
> So I think that means choosing 4.8, 4.9 (or anything lower) for
> USE_LANGUAGES=c++11 is out of the question.  Is that what you mean?

No. I'm just saying that the GCC documentation is lying when it claims
that GCC 4.x has full c++11 support. As I have said a number of times,
whether "this requires C++11" means GCC 4.7, 4.8, 4.9 or 5+ depends on
various factors. For most programs, GCC 4.8 will be good enough. For
strict compliance, 5+ is necessary. In some case, GCC 4.7 will be good


Home | Main Index | Thread Index | Old Index