[libcxx-commits] [libcxx] [libc++] Avoids using ENODATA. (PR #86165)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 9 09:26:35 PDT 2024


================
@@ -100,7 +100,10 @@ TODO
 
 ABI Affecting Changes
 ---------------------
-TODO
+
+- The optional POSIX macro ``ENODATA`` has been deprecated in C++. The
+  ``random_device`` could throw a ``system_error`` with this value. It now
+  throws ``ENOMSG``.
----------------
ldionne wrote:

```suggestion
- The optional POSIX macro ``ENODATA`` has been deprecated in C++ and POSIX 2017. The
  ``random_device`` could throw a ``system_error`` with this value. It now
  throws ``ENOMSG``.
```

https://github.com/llvm/llvm-project/pull/86165


More information about the libcxx-commits mailing list