On 18.12.2018 19:14, br...@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

Reply via email to