[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Branko Čibej <brane_at_apache.org>
Date: Tue, 18 Dec 2018 19:30:27 +0100

On 18.12.2018 19:14, brane_at_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
Received on 2018-12-18 19:30:41 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.