[Bug libstdc++/79147] Useless _GLIBCXX_PACKAGE_* macros in <bits/c++config.h>

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 19 13:19:46 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79147

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Patch posted:
https://gcc.gnu.org/pipermail/gcc-patches/2025-September/695768.html

The diff that this produces in the gnerated c++config.h file is:

@@ -1531,25 +1533,25 @@
#define _GLIBCXX_LT_OBJDIR ".libs/"

/* Name of package */
-/* #undef _GLIBCXX_PACKAGE */
+// /* #undef PACKAGE */

/* Define to the address where bug reports for this package should be sent. */
-#define _GLIBCXX_PACKAGE_BUGREPORT ""
+// #define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
-#define _GLIBCXX_PACKAGE_NAME "package-unused"
+// #define PACKAGE_NAME "package-unused"

/* Define to the full name and version of this package. */
-#define _GLIBCXX_PACKAGE_STRING "package-unused version-unused"
+// #define PACKAGE_STRING "package-unused version-unused"

/* Define to the one symbol short name of this package. */
-#define _GLIBCXX_PACKAGE_TARNAME "libstdc++"
+// #define PACKAGE_TARNAME "libstdc++"

/* Define to the home page for this package. */
-#define _GLIBCXX_PACKAGE_URL ""
+// #define PACKAGE_URL ""

/* Define to the version of this package. */
-#define _GLIBCXX_PACKAGE__GLIBCXX_VERSION "version-unused"
+// #define PACKAGE_VERSION "version-unused"

/* Define to 1 if you have the ANSI C header files. */
#define _GLIBCXX_STDC_HEADERS 1


More information about the Gcc-bugs mailing list