Page MenuHomePhabricator

Warning 4251 is not disabled globally
Closed, WontfixPublic

Description

I just ran into the problem of exporting a class containing std members and the following warning appeared:

WARNING: class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class ...

This should be globally disabled but currently needs to be diasabled using #pragma warning(disable : 4251) in each class.

Event Timeline

kalali triaged this task as Normal priority.Sep 5 2018, 2:09 PM
kalali created this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! ๐Ÿ™‚

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. ๐Ÿš‘

Best wishes,
The MITK devs