Notes |
|
|
As well as several hundred of this warning:
warning C4275: non dll-interface class 'type1' used as base for dll-interface class 'type2' |
|
|
|
And this warning:
warning C4910: 'boost::iostreams::stream<FileBuf,std::char_traits<char>,std::allocator<char>>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation |
|
|
(0007939)
|
jambolo
|
2020-10-06 06:18
(edited on: 2020-10-06 06:22) |
|
Regarding warning C4251: 'type1' needs to have dll-interface to be used by clients of class 'type2':
This is a problem for C++ standard library. Because much of it is template-based, any differences in configurations (e.g. Debug vs. Release) when building the DLLs can cause bugs and crashes.
Unless somebody has a better solution, the only solution I know of is to remove any C++ standard library features from the DLL interface.
|
|
|
(0008513)
|
Ivan
|
2023-04-11 09:34
|
|
Warning disabled, not relevant |
|