More than one instance of overloaded function
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to compile a library that uses CUDA, on an Ubuntu system using CUDA 8.0 and clang 3.8. The library includes Eigen headers in several *.cu files, which apparently includes the cmath header, causing an ambiguity in the CUDA headers. /usr/local/cuda-8.0/include/cuda_fp16.h(3068): error: more than one instance of overloaded function "isinf" matches the argument list: function "std::isinf(float)" function "isinf(float)" argument types are: (float) CUDA defines its own , and I would expect that std::isinf would have to be called