Anonymous | Login | 2024-11-21 14:55 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003147 | VCMI | Other | public | 2020-10-05 23:53 | 2023-04-11 09:34 | ||||
Reporter | jambolo | ||||||||
Assigned To | Ivan | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | MSVC | OS | OS Version | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003147: DLL dependency issues | ||||||||
Description | There are several hundred instances of this warning: warning C4251: 'type1' needs to have dll-interface to be used by clients of class 'type2' | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0007937) jambolo (reporter) 2020-10-05 23:58 |
As well as several hundred of this warning: warning C4275: non dll-interface class 'type1' used as base for dll-interface class 'type2' |
(0007938) jambolo (reporter) 2020-10-06 00:01 |
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 (reporter) 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 (developer) 2023-04-11 09:34 |
Warning disabled, not relevant |
Issue History | |||
Date Modified | Username | Field | Change |
2020-10-05 23:53 | jambolo | New Issue | |
2020-10-05 23:58 | jambolo | Note Added: 0007937 | |
2020-10-06 00:01 | jambolo | Note Added: 0007938 | |
2020-10-06 06:18 | jambolo | Note Added: 0007939 | |
2020-10-06 06:22 | jambolo | Note Edited: 0007939 | View Revisions |
2023-04-11 09:34 | Ivan | Note Added: 0008513 | |
2023-04-11 09:34 | Ivan | Status | new => closed |
2023-04-11 09:34 | Ivan | Assigned To | => Ivan |
2023-04-11 09:34 | Ivan | Resolution | open => fixed |
Copyright © 2000 - 2024 MantisBT Team |