Conversation
|
Is this warning C4251? When the compiler and flags match, the WT_API is not strictly necessary there. The compiler also warns about STL types like std::string etc. I can add WT_API to the types we define ourselves, but that doesn't eliminate the issue for the STL. Or are you actually really getting errors instead of warnings? |
|
This was a warning while linking against wt.dll on windows. |
|
Hi!
So maybe this is interesting for you... |
|
I see, it's the static instance Regards, |
Why export a symbol that has no use? Use default constructed NoClass instead of NoClass::none
|
I pushed a commit to master that should fix this (so it does not actually need Regards, |
|
Hi Roel! Perfect, thanks a lot. BR, Max |
On windows with dll usage of WT you have to dllexport/dllimport Wt::NoClass.
Otherwise you get linkage erros...