Compilation error with MSVC 19
Thibaut Cuvelier
tcuvelier at lyx.org
Mon Jan 4 16:30:07 UTC 2021
On Mon, 4 Jan 2021 at 15:05, Jean-Marc Lasgouttes <lasgouttes at lyx.org>
wrote:
> Le 30/12/2020 à 09:01, Yuriy Skalko a écrit :
> > I think the right way will be using only standard-compliant
> > "__cplusplus" in sources and adding the option "/Zc:__cplusplus" for
> > MSVC compiler in the build scripts so it handle __cplusplus in
> > standard-compliant way:
> >
> >
> https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-160
>
> I really wonder why this is not the default yet.
>
The only sensible answer is "backward compatibility"… They still advertise
pre-C++98 by default!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210104/2bb844c8/attachment.html>
More information about the lyx-devel
mailing list