diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-02 20:35:12 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-02 20:35:12 +0000 |
| commit | 30e437f9e362a484c96bbb87513294e7d9c4ac1c (patch) | |
| tree | ff95e0d43aa9157ee13fc1e5859871b5f28050b5 /Source/Plugins/Plugin_VideoSoftware/Src/SConscript | |
| parent | 03d1438be8e0d871839dd662a393d1c4f04fc260 (diff) | |
Fix some cases of variables being used uninitialized. Also some unused
variables, writeable strings and dangerously shadowed variables.
index(), gamma(), exp() and y0() are POSIX functions and using those
names can cause namespace confusion.
A number of C files were missing the final newline required by ANSI C
and some versions of GCC are pedantic enough to complain about this.
These changes simply the scons build, allowing us to get rid of
filterWarnings which is simply more trouble than it's worth.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SConscript')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/SConscript | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SConscript b/Source/Plugins/Plugin_VideoSoftware/Src/SConscript index 7077459a16..6732a13b0f 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/SConscript +++ b/Source/Plugins/Plugin_VideoSoftware/Src/SConscript @@ -36,9 +36,6 @@ files = [ 'VideoConfig.cpp', 'XFMemLoader.cpp', ] -compileFlags = [ - '-fPIC', - ] linkFlags = [ ] libs = [ @@ -56,7 +53,7 @@ conf = gfxenv.Configure(custom_tests = tests, if sys.platform == 'darwin': gfxenv['FRAMEWORKS'] = ['CoreFoundation', 'System', 'OpenGL', 'Cocoa', 'Cg'] - compileFlags += ['-x','objective-c++',] + compileFlags = ['-x','objective-c++',] files += [ 'cocoaGL.m', ] conf.CheckPKG('OpenGL') @@ -94,7 +91,6 @@ if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']: print "Must have wx to use wxgl" Return() gfxenv.Append( - CXXFLAGS = compileFlags, LINKFLAGS = linkFlags, ) |
