Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
4.5.3
-
None
-
AIX 6, xlC 10.01
Description
There are two template functions that did not compile with xlC 10.01. Here is the first error:
"painting/qrasterizer.cpp", line 322.59: 1540-0274 (S) The name lookup for "xOrder" did not find a declaration.
"painting/qrasterizer.cpp", line 322.59: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.
I have not studied the relevant part of the C++ standard so I do not know if the error is warranted. But I think I understand where the compiler might be coming from as resolution of references is critical for resuable template functions. And static linkage is likely not the norm for referenced functions.
I have attached the patch that made things working for me.