mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Disable use of exceptions in the wxWidgets3 build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7177 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d7bda211fd
commit
961ac54743
1
Externals/wxWidgets3/SConscript
vendored
1
Externals/wxWidgets3/SConscript
vendored
@ -11,7 +11,6 @@ env['HAVE_WX'] = 1
|
||||
|
||||
wxenv = env.Clone()
|
||||
|
||||
wxenv['CCFLAGS'] += ['-fexceptions']
|
||||
wxenv['CCFLAGS'] += ['-Wno-deprecated-declarations']
|
||||
wxenv['CCFLAGS'] += ['-Wno-shadow', '-Wno-sign-compare']
|
||||
wxenv['CPPDEFINES'] += ['WXBUILDING']
|
||||
|
4
Externals/wxWidgets3/wx/wxcocoa.h
vendored
4
Externals/wxWidgets3/wx/wxcocoa.h
vendored
@ -186,7 +186,7 @@
|
||||
#define wxUSE_WCHAR_T 1
|
||||
|
||||
|
||||
#define wxUSE_EXCEPTIONS 1
|
||||
#define wxUSE_EXCEPTIONS 0
|
||||
|
||||
#define wxUSE_EXTENDED_RTTI 0
|
||||
|
||||
@ -247,7 +247,7 @@
|
||||
|
||||
#define wxUSE_STOPWATCH 1
|
||||
|
||||
#define wxUSE_FSWATCHER 1
|
||||
#define wxUSE_FSWATCHER 0
|
||||
|
||||
#define wxUSE_CONFIG 1
|
||||
|
||||
|
4
Externals/wxWidgets3/wx/wxgtk.h
vendored
4
Externals/wxWidgets3/wx/wxgtk.h
vendored
@ -186,7 +186,7 @@
|
||||
#define wxUSE_WCHAR_T 1
|
||||
|
||||
|
||||
#define wxUSE_EXCEPTIONS 1
|
||||
#define wxUSE_EXCEPTIONS 0
|
||||
|
||||
#define wxUSE_EXTENDED_RTTI 0
|
||||
|
||||
@ -247,7 +247,7 @@
|
||||
|
||||
#define wxUSE_STOPWATCH 1
|
||||
|
||||
#define wxUSE_FSWATCHER 1
|
||||
#define wxUSE_FSWATCHER 0
|
||||
|
||||
#define wxUSE_CONFIG 1
|
||||
|
||||
|
4
Externals/wxWidgets3/wx/wxmsw.h
vendored
4
Externals/wxWidgets3/wx/wxmsw.h
vendored
@ -192,7 +192,7 @@
|
||||
//
|
||||
// Recommended setting: depends on whether you intend to use C++ exceptions
|
||||
// in your own code (1 if you do, 0 if you don't)
|
||||
#define wxUSE_EXCEPTIONS 1
|
||||
#define wxUSE_EXCEPTIONS 0
|
||||
|
||||
// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
|
||||
//
|
||||
@ -435,7 +435,7 @@
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_FSWATCHER 1
|
||||
#define wxUSE_FSWATCHER 0
|
||||
|
||||
// Setting wxUSE_CONFIG to 1 enables the use of wxConfig and related classes
|
||||
// which allow the application to store its settings in the persistent
|
||||
|
@ -204,6 +204,8 @@ else:
|
||||
if not conf.CheckPKGConfig('0.15.0'):
|
||||
print "Can't find pkg-config, some tests will fail"
|
||||
|
||||
conf.CheckPKG('iconv')
|
||||
|
||||
if env['shared_glew']:
|
||||
env['shared_glew'] = conf.CheckPKG('GLEW')
|
||||
if env['shared_png']:
|
||||
|
@ -131,7 +131,6 @@ elif sys.platform == 'darwin':
|
||||
)))
|
||||
|
||||
else:
|
||||
env['LIBS'] += ['iconv']
|
||||
files += ['X11Utils.cpp']
|
||||
exe = env['binary_dir'] + '/dolphin-emu'
|
||||
if not env['HAVE_WX']:
|
||||
|
Loading…
Reference in New Issue
Block a user