Compiler Error
-
Hi, all I'd like to load few .csv files, thus I've downloaded the DSV Filter. My IDE is Visual Studio 2012 Express Version, and my machine is 64bits. I created an empty project, included the dsv_filter.hpp, exprtk.hpp, and strtk.hpp in the header file folder. And add dsv_filter_example.cpp in the source file folder. I trigger the debug, and an error pops up as below: Quote: error C2668: 'std::basic_string<_Elem,_Traits,_Alloc>::basic_string' : ambiguous call to overloaded function c:\users\w\desktop\dsv header file\exprtk.hpp 13770 1 testheader May I know how to solve such a problem? Many thanks in advance. Best regards Long
-
Hi, all I'd like to load few .csv files, thus I've downloaded the DSV Filter. My IDE is Visual Studio 2012 Express Version, and my machine is 64bits. I created an empty project, included the dsv_filter.hpp, exprtk.hpp, and strtk.hpp in the header file folder. And add dsv_filter_example.cpp in the source file folder. I trigger the debug, and an error pops up as below: Quote: error C2668: 'std::basic_string<_Elem,_Traits,_Alloc>::basic_string' : ambiguous call to overloaded function c:\users\w\desktop\dsv header file\exprtk.hpp 13770 1 testheader May I know how to solve such a problem? Many thanks in advance. Best regards Long
Why is this in the Managed C++/CLI forum? This is purely a C++ language question. However, the reason for the error is explained at http://msdn.microsoft.com/en-us/library/da60x087(v=vs.80).aspx[^], so you need to check the parameter types that you are passing into your function calls.
Use the best guess