"Unqualified lookup in templates" build failure(s)
clang 3.4.2
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 |
anfo | 0.98-4 | stl_function.h:367:20: error: call to function 'operator<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
dballe | 5.18-1 | tests.h:111:15: error: call to function 'operator!=' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
dymo-cups-drivers | 1.4.0-3 | TestAssert.h:61:13: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
libbpp-phyl | 2.1.0-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 |
|
nordugrid-arc | 4.1.0-1 | TestAssert.h:61:13: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
sitplus | 1.0.3-4 | intrusive_ptr.hpp:68:34: error: call to function 'intrusive_ptr_add_ref' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
6 errors