Allow compilation on gcc/clang without -Wno-unknown-pragmas.

This commit is contained in:
Nicholas Hastings committed 2013-10-06 13:46:15 -04:00
1 parent 34d4b05185
commit 9889382863
67 files changed
+218 -17

No files matched your search

+4
View File
@@ -49,7 +49,9 @@ DECLARE_BUILD_FACTORY( EditablePanel );
//-----------------------------------------------------------------------------
// Purpose: Constructor
//-----------------------------------------------------------------------------
#ifdef _WIN32
#pragma warning( disable : 4355 )
#endif
EditablePanel::EditablePanel(Panel *parent, const char *panelName) : Panel(parent, panelName), m_NavGroup(this)
{
@@ -78,7 +80,9 @@ EditablePanel::EditablePanel(Panel *parent, const char *panelName, HScheme hSche
SetBuildGroup(GetBuildGroup());
}
#ifdef _WIN32
#pragma warning( default : 4355 )
#endif
//-----------------------------------------------------------------------------
// Purpose: Destructor