Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'unresolved external symbol' when using arrays of objects with not default destructors #4

Open
apotocki opened this issue Jun 19, 2020 · 0 comments

Comments

@apotocki
Copy link

The following code snippet (as a driver code) causes "error LNK2019: unresolved external symbol "void __cdecl `eh vector destructor iterator'(void ,unsigned __int64,unsigned __int64,void (__cdecl)(void *))" (??_M@YAXPEAX_K1P6AX0@Z@Z) referenced in function "void __cdecl test(void)" (?test@@yaxxz)"

`struct foo
{
~foo() noexcept {}
};

void test()
{
foo vals[16];
}`

But I'm not really sure whether 'eh vector destructor iterator' stuff should be a part of vcrtl library or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant