diff options
| author | David Seifert <soap@gentoo.org> | 2021-06-15 11:24:35 +0200 |
|---|---|---|
| committer | David Seifert <soap@gentoo.org> | 2021-06-15 11:24:35 +0200 |
| commit | e92ca0aaccb92b4dc59645bdede1d3f3174afa82 (patch) | |
| tree | c051c195f4aa702b17e076237dcf9ea0c4357473 /dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch | |
| parent | a5f72c9700c6eb8cec8bb82a9e0cbf023ffe60ba (diff) | |
| download | gentoo-e92ca0aaccb92b4dc59645bdede1d3f3174afa82.tar.gz gentoo-e92ca0aaccb92b4dc59645bdede1d3f3174afa82.tar.bz2 gentoo-e92ca0aaccb92b4dc59645bdede1d3f3174afa82.zip | |
dev-cpp/commoncpp2: Fix for C++17
Closes: https://bugs.gentoo.org/787761
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch')
| -rw-r--r-- | dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch b/dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch deleted file mode 100644 index 795e44178c64..000000000000 --- a/dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://bugs.gentoo.org/686012 -In file included from ../inc/cc++/thread.h:50, - from thread.cpp:41: -../inc/cc++/string.h:734:35: error: friend declaration of ‘std::istream& getline(std::istream&, ost::String&, char, size_t)’ specifies default arguments and isn’t a definition [-fpermissive] - 734 | friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); - | ^~~~~~~ - ---- a/inc/cc++/string.h -+++ b/inc/cc++/string.h -@@ -58,6 +58,9 @@ - - class MemPager; - -+class String; -+__EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); -+ - /** - * This is a generic and portable string class. It uses optimized - * memory allocation strategies to efficiently handle smaller string -@@ -731,7 +734,7 @@ - * @param delim deliminator to use. - * @param size optional size limitor. - */ -- friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); -+ friend std::istream &getline(std::istream &is, String &str, char delim, size_t size); - - /** - * Stream the content of our string variable directly to a C++ |
