* lib/diffseq.h: Stop worrying about __clang__ for pragmas.
This basically reverts the previous change to this file.
Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2024-08/msg00145.html
+2024-08-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ diffseq: don’t worry about clang
+ * lib/diffseq.h: Stop worrying about __clang__ for pragmas.
+ This basically reverts the previous change to this file.
+ Problem reported by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2024-08/msg00145.html
+
2024-08-24 Bruno Haible <bruno@clisp.org>
copy-file: Add functions for copying non-confidential files.
/* Suppress gcc's "...may be used before initialized" warnings,
generated by GCC versions up to at least GCC 14.2.
Likewise for gcc -fanalyzer's "use of uninitialized value" warnings. */
-#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__) && !__clang__
+#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
# if 13 <= __GNUC__
#undef XREF_YREF_EQUAL
}
-#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__) && !__clang__
+#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__)
# pragma GCC diagnostic pop
#endif