svn commit: r460940 - in head/games: afternoonstalker burgerspace cosmosmash

Ganael Laplanche ganael.laplanche at centralesupelec.fr
Thu Feb 8 09:16:38 UTC 2018


On Thursday 08 February 2018 09:32:13 Baptiste Daroussin wrote:

Hi everyone,

> > > ... by forcing gnu++98 without giving the details of the breakages and
> > > why they were not properly fixed instead. :-)
> > 
> > For once I'm going to agree with danfe (someone take a picture!) but only
> > to the extent that I would like to ask that the commit messages be "work
> > around the build" rather than "fix".  There have been numerous commits
> > that did contain actual code fixes.

I should probably have written a more detailed commit msg, sorry.

> My point here, is variations between c++ standards may make some code
> incompatible and sometime the version of the standard may/should be
> specified, because the code is clearly C++98.
> 
> In clang 6 when you build c++ instead of defaulting of c++98 like it used to
> be is now defaulting on c++14 meaning all the code whihch expected c++98 as
> default standard are now broken and the -std flag should be supplied. The
> same happened when the C compilers switched from C89 to C99 as default
> standard. On 143 ports we needed to make that change.
> 
> Being compatible with newer c++ standard is an upstream decision to take,
> not hours. The compilers are able to specify the standard you are using,
> imho it is normal and expected for maintainers to use that feature :)

I agree with Bapt, if a project is written in C++ 98, that is not the porter's 
job to re-write it into a newer standard, that's why specifying c++98 for 
those ports made sense to me. Moreover, those games have not seen updates for 
years now, so there may be not point in updating their code standard.

Best regards,

-- 
Ganael Laplanche <ganael.laplanche at centralesupelec.fr>
Unix Systems Engineer @CentraleSupelec Rennes


More information about the svn-ports-all mailing list