"Unqualified lookup in templates" build failure(s)
clang 3.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 |
aria2 | 1.14.1-1 | ./util.h:124:16: error: call to function 'stripIter' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
bitcoin | 0.4.0-1 | config_file.hpp:163:17: error: call to function 'to_internal' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
bmagic | 3.7.0-1 | bmfunc.h:1817:18: error: call to function 'bit_block_calc_count_range' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
clam-networkeditor | 1.4.0-3 | 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 | ../../../../src/include/scripting/squirrel/squtils.h:38:4: error: call to function 'sq_vm_free' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
ctemplate | 1.0-1 | ./src/base/small_map.h:363:18: error: call to function 'make_pair' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
epcr | 2.3.12-2 | ./epcr/minilcs.hpp:308:9: error: call to function 'memset' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
fparser | 4.3-3 | ./fpaux.hh:75:29: error: call to function 'fp_sqrt' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
gource | 0.37-2 | src/core/utf8/checked.h:82:21: error: call to function 'append' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
kde4libs | 4:4.6.5-2 | ../../kjs/wtf/RefPtr.h:58:55: error: call to function 'adoptRef' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
last-align | 189-1 | gumbel_params/njn_approx.hpp:72:70: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
libbpp-phyl | 2.0.2-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 |
|
nted | 1.10.18-2 | ./dynarray.h:277:3: error: call to function 'memset' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
rawtherapee | 3.0.0~dfsg1-1 | rtexif.h:293:11: error: call to function 'extractLensInfo' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
sinfo | 0.0.42-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 |
|
spring | 85.0+dfsg1-2 | PolyTools.h:56:9: error: call to function 'GetArea2D' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
vowpal-wabbit | 5.1+83-gffab10a-1 | ./v_array.h:61:5: error: call to function 'bzero' that is neither visible in the template definition nor found by argument-dependent lookup
| Log |
|
zeroc-icee | 1.2.0-6 | ../../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 |
|
18 errors