[libcxx-commits] [libcxx] f77403b - [libc++][NFC] Add link to GCC bug report in <limits.h> workaround
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 21 08:01:25 PST 2022
Author: Louis Dionne
Date: 2022-11-21T11:01:13-05:00
New Revision: f77403be27ccf929aca03168e8c5c3175534e987
URL: https://github.com/llvm/llvm-project/commit/f77403be27ccf929aca03168e8c5c3175534e987
DIFF: https://github.com/llvm/llvm-project/commit/f77403be27ccf929aca03168e8c5c3175534e987.diff
LOG: [libc++][NFC] Add link to GCC bug report in <limits.h> workaround
Added:
Modified:
libcxx/include/limits.h
Removed:
################################################################################
diff --git a/libcxx/include/limits.h b/libcxx/include/limits.h
index 032a90967d0c9..570e213f03df0 100644
--- a/libcxx/include/limits.h
+++ b/libcxx/include/limits.h
@@ -52,8 +52,9 @@
#else
// GCC header limits.h recursively includes itself through another header called
// syslimits.h for some reason. This setup breaks down if we directly
-// #include_next GCC's limits.h (reasons not entirely clear to me). Therefore,
-// we manually re-create the necessary include sequence below:
+// #include_next GCC's limits.h (reasons not entirely clear to me).
+// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795 for more details.
+// Therefore, we manually re-create the necessary include sequence below:
// Get the system limits.h defines (force recurse into the next level)
#define _GCC_LIMITS_H_
More information about the libcxx-commits
mailing list