Package: mimetic / 0.9.7-3

Metadata

Package Version Patches format
mimetic 0.9.7-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
gcc 4.7.patch | (download)

mimetic/tokenizer.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 mimetic fails to build with gcc-4.7 with:
 | In file included from datetime.cxx:11:0:
 | ../../mimetic/tokenizer.h: In instantiation of 'mimetic::ContTokenizer<Container>::ContTokenizer(const Container*, const
 | DelimCont&) [with DelimCont = char [3]; Container = std::basic_string<char>]':
 | datetime.cxx:266:42:   required from here
 | ../../mimetic/tokenizer.h:150:9: error: 'setDelimList' was not declared in this scope, and no declarations were found by
 | argument-dependent lookup at the point of instantiation [-fpermissive]
 | ../../mimetic/tokenizer.h:150:9: note: declarations in dependent base 'mimetic::ItTokenizer<__gnu_cxx::__normal_iterator<const
 | char*, std::basic_string<char> >, char>' are not found by unqualified lookup
 | ../../mimetic/tokenizer.h:150:9: note: use 'this->setDelimList' instead
 | make[5]: *** [datetime.lo] Error 1
 .
 Following gcc's advice by using 'this->setDelimList' seems to work under
 gcc-4.6 and gcc-4.7.
 .
 Cf. also http://gcc.gnu.org/gcc-4.7/porting_to.html -> C++ language issues ->
 Name lookup changes