Boost logo

Boost :

From: Minmin Gong (gongminmin_at_[hidden])
Date: 2007-05-19 04:41:31


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?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk