[libcxx-commits] [libcxx] [libc++] Undprecated POSIX STREAM macros. (PR #88296)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 11 13:12:33 PDT 2024


================
@@ -38,17 +38,11 @@ Macros:
 #  pragma GCC system_header
 #endif
 
-#ifdef ENODATA
-#  pragma clang deprecated(ENODATA, "ENODATA is deprecated in ISO C++")
-#endif
-#ifdef ENOSR
-#  pragma clang deprecated(ENOSR, "ENOSR is deprecated in ISO C++")
-#endif
-#ifdef ENOSTR
-#  pragma clang deprecated(ENOSTR, "ENOSTR is deprecated in ISO C++")
-#endif
-#ifdef ETIME
-#  pragma clang deprecated(ETIME, "ETIME is deprecated in ISO C++")
-#endif
+// LWG3869 Deprecate std::errc constants related to UNIX STREAMS
+//
+// deprecates the POSIX macros ENODATA, ENOSR, ENOSTR, and ETIME. These were
----------------
ldionne wrote:

```suggestion
// This LWG issue deprecates the POSIX macros ENODATA, ENOSR, ENOSTR, and ETIME. These were
```

Otherwise this reads kinda weird.

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


More information about the libcxx-commits mailing list