tech-pkg archive

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

Re: First go at adding GCC_VERSIONS_ACCEPTED support

On Thu, Oct 15, 2015 at 08:38:22AM -0400, Greg Troxel wrote:
> Thomas Klausner <> writes:
> > I'd like to introduce a different point in the discussion.
> >
> > I usually don't care about compiler versions, but about compiler
> > features.
> >
> > So I'd be more interested in a way to say:
> > I want c99/c++03/c++11/c++whatever
> > than specifying compiler versions.
> That's a fair point.  We have c99 in USE_LANGUAGES.   But we also have
> c++, and that's a bug, because c++ is a family of languages, not a
> language.

So is "c", "c++" is not really different.

> Your point doesn't get us out of the fundamental difficulty that it is
> unsound to mix c++ compilers.   Perhaps we need to just define that
> USE_LANGUAGES=c++ means c++11 and force a c++11-compatible compiler (gcc
> 4.8?).

I don't think we are at the point where the majority of all C++ code in
pkgsrc is C++11 by far.


Home | Main Index | Thread Index | Old Index