"Unqualified lookup in templates" build failure(s)
clang 3.1
This code is accepted by g++. On purpose, clang
does not accept this syntax.
// Uncomment this line will fix the issue.
// template<typename Value_t> void b(Value_t value)
template<typename Value_t> void a(Value_t value)
{
b(value);
}
template<typename Value_t> void b(Value_t value)
{
}
void foo(int y)
{
a(y);
}
Package | Version | Supposed error message | Full log |
Bug report |
clam-networkeditor | 1.4.0-3.1 | OutPort.hxx:287:9: error: call to function 'SameType' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
codeblocks | 10.05-2.1 | ../../../../src/include/scripting/squirrel/squtils.h:97:15: error: call to function 'sq_vm_realloc' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
cutter-testing-framework | 1.1.7-1.2 | ../../cppcutter/cppcut-assertions-helper.h:59:9: error: call to function 'assert_equal_reference' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
dballe | 5.18-1 | tests.h:58:15: error: call to function 'operator!=' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
gnome-commander | 1.2.8.15-3 | ./../dict.h:58:71: error: call to function 'make_pair' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
libbpp-phyl | 2.0.3-1 | NumTools.h:116:50: error: call to function 'operator*' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
libpqxx3 | 3.1-1.1 | ../include/pqxx/util.hxx:412:14: error: call to function 'to_string' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
poco | 1.3.6p1-1 | String.h:448:2: error: call to function 'replaceInPlace' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
protobuf | 2.4.1-3 | ./include/gtest/internal/gtest-param-util-generated.h:80:12: error: call to function 'ValuesIn' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
sinfo | 0.0.42-1.1 | ../libmessageparser/templateparser.h:50:5: error: call to function 'pushFront' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
sitplus | 1.0.3-3 | intrusive_ptr.hpp:67:34: error: call to function 'intrusive_ptr_add_ref' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
spring | 88.0+dfsg1-1.1 | PolyTools.h:56:9: error: call to function 'GetArea2D' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
vxl | 1.14.0-18 | vil_math.h:42:18: error: call to function 'operator<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
zeroc-icee | 1.2.0-6.1 | ../../include/IceE/Handle.h:331:6: error: call to function 'upCast' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
14 errors