Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2019 07:55:36 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Piotr Kubaj <pkubaj@anongoth.pl>, Piotr Kubaj <pkubaj@freebsd.org>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r506850 - head/databases/mysql-connector-odbc
Message-ID:  <20190719075536.GA15828@FreeBSD.org>
In-Reply-To: <20190718174824.GB16600@spindle.one-eyed-alien.net>
References:  <201907181130.x6IBU0lF065180@repo.freebsd.org> <20190718120720.GB59568@FreeBSD.org> <20190718121709.GA38485@ThinkPad-X200.g.anongoth.pl> <20190718124236.GA96440@FreeBSD.org> <20190718174824.GB16600@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 18, 2019 at 05:48:24PM +0000, Brooks Davis wrote:
> On Thu, Jul 18, 2019 at 12:42:36PM +0000, Alexey Dokuchaev wrote:
> > On Thu, Jul 18, 2019 at 02:17:09PM +0200, Piotr Kubaj wrote:
> > > Ah, I didn't know it existed.
> > > 
> > > But C++0x is still the same as C++11...
> > 
> > *sigh*
> > 
> > Yes, their effect is the same (both would pull the same compiler),
> > but it gives the reader false impression that the code is C++11 while
> > it's C++0x.
> 
> C++11 is literally the-standard-formerly-known-as-C++0x.  To the extent
> that there are deviations, it's because the compiler is referring to
> some (probably unstated and inconsistent) draft.

While I agree that C++11 is essentially a gold-release version of C++0x,
I was trying to make a larger point here, that is, do not blindly use
`c++11-lang' or `c11' whenever a modern compiler is required and try to
do something more appropriate in each particular case.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190719075536.GA15828>