
19 May
2007
19 May
'07
8:41 a.m.
Hi everyone: If calling convention is changed to __stdcall in vc8, there will be a link error like this: error LNK2019: unresolved external symbol "class boost::filesystem::file_status __stdcall boost::filesystem::detail::status_api(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,unsigned int &)" ... Here's my test code: #include <boost/filesystem.hpp> int main() { boost::filesystem::path p("a.txt"); boost::filesystem::exists(p); return 0; } Should status_api() be restricted to __cdecl explicitly?