[libcxx] r321937 - Correct mistake in pragma usage for Windows
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 7 22:40:19 PST 2018
Hah, we all missed this during review.
From: cfe-commits <cfe-commits-bounces at lists.llvm.org> on behalf of Saleem Abdulrasool via cfe-commits <cfe-commits at lists.llvm.org>
Reply-To: Saleem Abdulrasool <compnerd at compnerd.org>
Date: Saturday, January 6, 2018 at 10:48 AM
To: "cfe-commits at lists.llvm.org" <cfe-commits at lists.llvm.org>
Subject: [libcxx] r321937 - Correct mistake in pragma usage for Windows
Author: compnerd
Date: Sat Jan 6 10:47:03 2018
New Revision: 321937
URL: https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D321937-26view-3Drev&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=AGe8lTmLFGMlGPm9sLEnF6Id8r0AU2mMf23PCSg_Z-A&s=0Lbt7xk05gsFMXV9JaPHaAuJKJNPL2uAMqa8KGVB0Zc&e=
Log:
Correct mistake in pragma usage for Windows
The autolink pragma was missing the pragma name itself. This would
result in the pragma being silently dropped.
Modified:
libcxx/trunk/include/__config
Modified: libcxx/trunk/include/__config
URL: https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_libcxx_trunk_include_-5F-5Fconfig-3Frev-3D321937-26r1-3D321936-26r2-3D321937-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=AGe8lTmLFGMlGPm9sLEnF6Id8r0AU2mMf23PCSg_Z-A&s=XCRMWiLWYMeL6yqcmwRIbUGdeeQ4izrIJs4X9733ddA&e=
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Sat Jan 6 10:47:03 2018
@@ -1278,9 +1278,9 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit
#if defined(_LIBCPP_ABI_MICROSOFT) && !defined(_LIBCPP_BUILDING_LIBRARY)
# if defined(_DLL)
-# pragma(lib, "c++.lib")
+# pragma comment(lib, "c++.lib")
# else
-# pragma(lib, "libc++.lib")
+# pragma comment(lib, "libc++.lib")
# endif
#endif // defined(_LIBCPP_ABI_MICROSOFT) && !defined(_LIBCPP_BUILDING_LIBRARY)
_______________________________________________
cfe-commits mailing list
cfe-commits at lists.llvm.org<mailto:cfe-commits at lists.llvm.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_cfe-2Dcommits&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=AGe8lTmLFGMlGPm9sLEnF6Id8r0AU2mMf23PCSg_Z-A&s=1QAEIzWyLnmjbZXGswXGKna_StGDQ_8ZWCXJcv9b-2g&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180108/5d56d9a4/attachment-0001.html>
More information about the cfe-commits
mailing list