From b18c2a0024c6d33cdf142ed2adf0d127483411e8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Nov 2021 09:17:04 +0100 Subject: -FIIntrin.h in CC/CXX is no longer needed for my clang-cl build ...at least with Clang 14 trunk now (but I didn't check which llvm commit would be responsible for that, and which version of LLVM that appeared in first). That also means the -D_CRT_RAND_S hack in CXX is no longer needed either. (See the mail thread starting at "[cfe-dev] clang-cl question".) Change-Id: If1b1b4fa17782161c3b72ac68fdef28b0e044a31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125859 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/reservedid.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/reservedid.cxx b/compilerplugins/clang/reservedid.cxx index 9f11ef5a9ced..2c7e9c8659e4 100644 --- a/compilerplugins/clang/reservedid.cxx +++ b/compilerplugins/clang/reservedid.cxx @@ -74,6 +74,7 @@ void ReservedId::postRun() { // extensions/source/activex/StdAfx2.h && id != "_ATL_STATIC_REGISTRY" // extensions/source/activex/StdAfx2.h + && id != "_CRT_RAND_S" // sal/osl/w32/random.cxx && id != "_GLIBCXX_CDTOR_CALLABI" && id != "_HAS_AUTO_PTR_ETC" // unotools/source/i18n/resmgr.cxx && id != "_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR" // unotools/source/i18n/resmgr.cxx -- cgit