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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Branko Čibej
On 18.12.2018 19:14, [hidden email] 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