svn commit: r337593 - projects/clang700-import/contrib/libc++/include

Dimitry Andric dim at FreeBSD.org
Fri Aug 10 21:40:29 UTC 2018


Author: dim
Date: Fri Aug 10 21:40:28 2018
New Revision: 337593
URL: https://svnweb.freebsd.org/changeset/base/337593

Log:
  Upstream libc++ added a using ::timespec_get line, when in C++17 or
  higher mode, in <https://reviews.llvm.org/rL338419>.  Since we do not
  yet have this C11 function, comment out the line for now, as a
  workaround for a number of failing ports.  Discussion with upstream is
  ongoing about an acceptable permanent fix.
  
  PR:		230400
  Reported by:	jbeich

Modified:
  projects/clang700-import/contrib/libc++/include/ctime

Modified: projects/clang700-import/contrib/libc++/include/ctime
==============================================================================
--- projects/clang700-import/contrib/libc++/include/ctime	Fri Aug 10 21:23:56 2018	(r337592)
+++ projects/clang700-import/contrib/libc++/include/ctime	Fri Aug 10 21:40:28 2018	(r337593)
@@ -74,7 +74,7 @@ using ::localtime;
 #endif
 using ::strftime;
 #if _LIBCPP_STD_VER > 14 && defined(_LIBCPP_HAS_C11_FEATURES)
-using ::timespec_get;
+//using ::timespec_get;
 #endif
 
 _LIBCPP_END_NAMESPACE_STD


More information about the svn-src-projects mailing list