MyGUI / mygui

Fast, flexible and simple GUI.
http://mygui.info/
Other
713 stars 205 forks source link

C4275 MSVC warnings spam #220

Closed akortunov closed 3 years ago

akortunov commented 3 years ago

When we try to build OpenMW via AppVeyor with MSVC, we get more than hundred of such warnings:

warning C4275: 
non dll-interface class 'MyGUI::delegates::IDelegateUnlink' used as base for dll-interface class 'MyGUI::Widget'

If I understood correctly, it is because MyGUI::Widget class has a MYGUI_EXPORT macro, but its base class MyGUI::delegates::IDelegateUnlink - does not have, so we get a warning every time when we derive from MyGUI::Widget in the OpenMW code.

I suppose that IDelegateUnlink should be exported as well.