我有,我已經包括在庫路徑Linux上的C++項目:Intel <math.h> vs C <math.h>?
/opt/intel/include/
,這樣我可以使用特定的英特爾庫。不過,我也希望使用標準的C/C++ math.h,以便我可以調用pow(x,y)
;
我收錄了<math.h>
並使用了using namespace::std
,然後用pow(x,y)
撥打了電話。編譯器(gcc4.7)抱怨:
/opt/intel/include/math.h:27:3: error: #error "This Intel is for use with only the Intel compilers!"
如何指定,我指的是C/C++文件math.h pow()
,而不是英特爾pow()
?
[Library include include path has same header name](http:// stackoverflow。com/questions/5168242/library-include-paths-with-same-header-name) – Jon