Use correct __cplusplus value with MSVC

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 7 December 2018 14:50 EST

...now that /Zc:__cplusplus is available in Visual Studio 2017 version 15.7 (see ).

Some external projects might run into issues when picking up /Zc:__cplusplus directly with $(CXXFLAGS_CXX11) or indirectly via $(gb_CXXFLAGS) now, but that appears not to be the case.

Some obsolete MSVC-specific __cplusplus checks can be removed now. (The ones in external/libebook/libebook-msvc.patch.1 pick up /Zc:__cplusplus via $(gb_CXXFLAGS) in external/libebook/ExternalProject_libebook.mk.)

Change-Id: Idc6849a0000ea424522f30f61caba112fae25d40 Reviewed-on: https://gerrit.libreoffice.org/64755

50cb96346ad5 Use correct __cplusplus value with MSVC
configure.ac | 2 +-
external/libebook/UnpackedTarball_libebook.mk | 4 ---
external/libebook/libebook-msvc.patch.1 | 46 ---------------------------
3 files changed, 1 insertion(+), 51 deletions(-)

Upstream: cgit.freedesktop.org


  • Share