globally disable VC++'s warning 4251 (non-exported member in dll-exported class and remove broken workaround trying to silence it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
24904055f3
commit
b85e0ae0a1
@ -71,6 +71,12 @@
|
||||
# pragma warning(disable:4512) /* operator=() couldn't be generated */
|
||||
# pragma warning(disable:4710) /* function not inlined */
|
||||
|
||||
/* There are too many false positivies for this one, particularly when
|
||||
using templates like wxVector<T> */
|
||||
/* class 'foo' needs to have dll-interface to be used by clients of
|
||||
class 'bar'" */
|
||||
# pragma warning(disable:4251)
|
||||
|
||||
/* For VC++ 5.0 for release mode, the warning 'C4702: unreachable code */
|
||||
/* is buggy, and occurs for code that does actually get executed */
|
||||
# if !defined __WXDEBUG__ && __VISUALC__ <= 1100
|
||||
|
@ -273,7 +273,7 @@ private:
|
||||
long m_version;
|
||||
|
||||
int m_flags;
|
||||
class WXDLLIMPEXP_FWD_XRC wxVector<wxXmlResourceHandler*> m_handlers;
|
||||
wxVector<wxXmlResourceHandler*> m_handlers;
|
||||
wxXmlResourceDataRecords *m_data;
|
||||
#if wxUSE_FILESYSTEM
|
||||
wxFileSystem m_curFileSystem;
|
||||
|
Loading…
Reference in New Issue
Block a user