Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867578 Details for
Bug 912035
sys-devel/gcc: compilation failure with libc++ 17
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
libcxx-17.patch (text/plain), 1.08 KB, created by
Violet Purcell
on 2023-08-10 17:03:03 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Violet Purcell
Created:
2023-08-10 17:03:03 UTC
Size:
1.08 KB
patch
obsolete
>--- a/gcc/system.h >+++ b/gcc/system.h >@@ -201,6 +201,9 @@ extern int fprintf_unlocked (FILE *, con > #ifdef INCLUDE_STRING > # include <string> > #endif >+#ifdef INCLUDE_VECTOR >+# include <vector> >+#endif > #endif > > /* There are an extraordinary number of issues with <ctype.h>. >@@ -229,9 +232,6 @@ extern int errno; > #ifdef INCLUDE_SET > # include <set> > #endif >-#ifdef INCLUDE_VECTOR >-# include <vector> >-#endif > #ifdef INCLUDE_ARRAY > # include <array> > #endif >--- a/libcc1/libcc1plugin.cc >+++ b/libcc1/libcc1plugin.cc >@@ -19,6 +19,8 @@ > > #include <cc1plugin-config.h> > >+#include <vector> >+ > #undef PACKAGE_NAME > #undef PACKAGE_STRING > #undef PACKAGE_TARNAME >@@ -69,8 +71,6 @@ > #include "gcc-c-interface.h" > #include "context.hh" > >-#include <vector> >- > using namespace cc1_plugin; > > >--- a/libcc1/libcp1plugin.cc >+++ b/libcc1/libcp1plugin.cc >@@ -20,6 +20,8 @@ > > #include <cc1plugin-config.h> > >+#include <vector> >+ > #undef PACKAGE_NAME > #undef PACKAGE_STRING > #undef PACKAGE_TARNAME >@@ -71,8 +73,6 @@ > #include "rpc.hh" > #include "context.hh" > >-#include <vector> >- > using namespace cc1_plugin; > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912035
: 867578 |
867579
|
867580
|
883744