1
Vote

Compilation errors

description

When compiling in DEBUG mode, the following code is causing errors:
#ifdef _DEBUG

XLL_TEST_BEGIN(test_str)

    handle<xstring> hs = new xstring{_T("a;b;c")};
    OPERX o = *xll_str_split(hs.get(), _T(";"));

    ensure (o.size() == 3);
    ensure (o[0] == _T("a"));
    ensure (o[1] == _T("b"));
    ensure (o[2] == _T("c")); // fails!!!

XLL_TEST_END(test_str)

#endif // _DEBUG
After commenting out the above code snippet, I got the following errors:
Error   1   error C1083: Cannot open source file: '..\monte\adjust12.cpp': No such file or directory    D:\GitHub\xllinet\c1xx  xllinet
Error   2   error C1083: Cannot open source file: '..\monte\adjust.cpp': No such file or directory  D:\GitHub\xllinet\c1xx  xllinet
Could you please take a look at this? Thanks a lot!

comments