rapidxml 在mac下的编译error: call to function 'print_pi_node' that is neither visible in the template def

来源:互联网 发布:linux开启443端口命令 编辑:程序博客网 时间:2024/06/03 12:30

报错消息如下:
./rapidxml/rapidxml_print.hpp:158:23: error: call to function ‘print_pi_node’ that is neither visible in the template definition nor found by argument-dependent lookup
out = print_pi_node(out, node, flags, indent);

这个是在llvm上问题函数函数在声明前被调用的问题,详细的解释参考如下链接
http://clang.llvm.org/compatibility.html#dep_lookup

0 0
原创粉丝点击