"Unqualified lookup in templates" build failure(s)
clang 6.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-6 | stl_function.h:386:20: 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-8 | StringHelper.h:25:9: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
libffado | 2.4.0-2 | types.h:566:9: error: call to function 'operator>>' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
wreport | 3.6-1 | ../wreport/utils/tests.h:180:21: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
4 errors