"Unqualified lookup in templates" build failure(s)
clang 3.5.0
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 |
|
diagnostics | 0.3.3-10 | ../../diagnostics/util/to_string.hpp:59:8: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
751904
|
dymo-cups-drivers | 1.4.0-4 | 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.2.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 |
|
zeroc-icee | 1.2.0-6.2 | ../../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 |
|
8 errors