You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/gdl/files/0.9.6-gcc6.patch

32 lines
1.2 KiB

diff -up gdl-0.9.6/src/specializations.hpp.gcc6 gdl-0.9.6/src/specializations.hpp
--- gdl-0.9.6/src/specializations.hpp.gcc6 2015-08-24 15:26:47.000000000 -0600
+++ gdl-0.9.6/src/specializations.hpp 2016-03-03 16:30:46.694379312 -0700
@@ -534,16 +534,6 @@ void Data_<SpDString>::MinMax( DLong* mi
// default_io.cpp
template<>
-std::istream& operator>>(std::istream& i, Data_<SpDFloat>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDDouble>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDComplex>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDComplexDbl>& data_);
-template<>
-std::istream& operator>>(std::istream& is, Data_<SpDString>& data_);
-template<>
std::ostream& Data_<SpDLong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr);
template<>
std::ostream& Data_<SpDULong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr);
--- gdl-0.9.6/src/typedefs.hpp.gcc6 2014/08/09 15:33:29 1.76
+++ gdl-0.9.6/src/typedefs.hpp 2016/02/04 22:48:46 1.77
@@ -235,7 +235,7 @@
Guard& operator=( Guard& r)
{
- if( &r == this) return;
+ if( &r == this) return *this;
delete guarded;
guarded = r.guarded;
r.guarded = NULL;