For Clang, c++14 is the default, see https://clang.llvm.org/cxx_status.html
where it says "By default, Clang builds C++ code according to the C++14
standard".

On Sat, Jan 21, 2023 at 8:45 AM Yury Tarasievich <yury.tarasiev...@gmail.com>
wrote:

> Apologies if I'm being dense here, but is this
> indeed compiling to c++14? Won't you need
> explicit -std=c++14 option for that?
>
> To compile 'just' to c++11 (on linux) a patch of
> about 19 parts is needed, although admittedly it
> consists mostly of these guys:
>
> +#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
> +#define BOOST_NO_CXX11_DELETED_FUNCTIONS 1
> +#include <boost/ref.hpp>
>
> On 20/01/2023 21:52, Damjan Jovanovic wrote:
> > So I eventually succeeded in getting OpenOffice
> > to compile against the "c++14" standard now, and
> > to use a newer Boost.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>

Reply via email to