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
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");
    return 0;

Should status_api() be restricted to __cdecl explicitly?

Boost list run by bdawes at, gregod at, cpdaniel at, john at