You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@apache.org> on 2018/12/18 18:30:27 UTC

Re: svn commit: r1849202 - in /subversion/trunk: build/ac-macros/compiler.m4 build/ac-macros/kwallet.m4 configure.ac subversion/bindings/javahl/native/RemoteSession.cpp

On 18.12.2018 19:14, brane@apache.org wrote:
> Author: brane
> Date: Tue Dec 18 18:14:13 2018
> New Revision: 1849202
>
> URL: http://svn.apache.org/viewvc?rev=1849202&view=rev
> Log:
> Switch default C++ language level to C++11 on Unix.
>
>  - "Modern" C++ (C++11 and later) has become ubiquitous.
>  - We already need C++11 to compile the KWallet plugin.
>  - JavaHL compiles in C++11 mode, otherwise it would not build on Windows
>    with newer versions of MSVC.
>  - Our core code is not affected at all.


I think this is a safe change. On some older systems one may have to add
extra C++ flags to compile JavaHL if the native compiler doesn't
understand C++11 mode, but that's not too hard to do. Nothing else is
affected.

If we decide that JavaHL should still be compiled in C++98 mode, we can
invent a new set of compilation mode flags for that.

-- Brane