summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt/fix-for-gcc-4.7.patch
blob: 8144e39be03b29ff867c14a4d63d792e0dec700f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
gcc-4.7 seems to be stricter about some things, so follow
the suggestion from the error/note information.

    ../../x86_64-linux-libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. 
    x86_64-linux-libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -isyst
    In file included from ../../include/beecrypt/c++/util/Hashtable.h:42:0,
                     from ../../include/beecrypt/c++/util/Properties.h:36,
                     from Properties.cxx:25:
    ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
    Properties.cxx:228:1:   required from here
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
    ../../include/beecrypt/c++/util/AbstractSet.h: In instantiation of 'bool beecrypt::uti
    Properties.cxx:228:1:   required from here
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: error: 'containsAll' was not decl
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: declarations in dependent b
    ../../include/beecrypt/c++/util/AbstractSet.h:59:27: note: use 'this->containsAll' ins
    

Upstream-Status: Pending

Signed-off-by: Saul Wold <sgw@linux.intel.com>


Index: beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
===================================================================
--- beecrypt-4.2.1.orig/include/beecrypt/c++/util/AbstractSet.h
+++ beecrypt-4.2.1/include/beecrypt/c++/util/AbstractSet.h
@@ -56,7 +56,7 @@ namespace beecrypt {
 					if (c->size() != size())
 						return false;
 
-					return containsAll(*c);
+					return this->containsAll(*c);
 				}
 				return false;
 			}