more Sun C++ compiler warning fixes: in particular, added an ugly but
necessary workaround for avoiding warning in the .xpm files git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,6 +69,9 @@
|
||||
# include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// XPM hack: make the arrays const
|
||||
#define static static const
|
||||
|
||||
#ifndef __DOS__
|
||||
#include "wx/generic/home.xpm"
|
||||
#endif
|
||||
@@ -80,6 +83,8 @@
|
||||
#include "wx/generic/deffile.xpm"
|
||||
#include "wx/generic/exefile.xpm"
|
||||
|
||||
#undef static
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxFileData
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user