--- a/QTfrontend/main.cpp Sat Oct 17 13:11:07 2009 +0000
+++ b/QTfrontend/main.cpp Sat Oct 17 13:19:49 2009 +0000
@@ -24,8 +24,6 @@
#include <QRegExp>
#include <QMap>
-char *programname;
-
#include "hwform.h"
#include "hwconsts.h"
@@ -44,10 +42,7 @@
return true;
}
-int main(int argc, char *argv[]) {
-
- programname = argv[0];
-
+int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QStringList arguments = app.arguments();
--- a/hedgewars/CMakeLists.txt Sat Oct 17 13:11:07 2009 +0000
+++ b/hedgewars/CMakeLists.txt Sat Oct 17 13:19:49 2009 +0000
@@ -101,7 +101,7 @@
set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags}) #instruction set for ppc is 7400
endif()
else(OPTIMIZATIONS)
- set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-dDEBUG" "-pg" "-va" ${pascal_compiler_flags})
+ set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags})
endif(OPTIMIZATIONS)
if(LOWRES)
--- a/project_files/hedgewars.pro Sat Oct 17 13:11:07 2009 +0000
+++ b/project_files/hedgewars.pro Sat Oct 17 13:19:49 2009 +0000
@@ -27,6 +27,5 @@
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
CONFIG += warn_on x86
- hedgewars.commands = echo "REMEMBER TO INSERT hwconst.cpp IN SOURCE DIRECTORY"
#CONFIG += x86 ppc x86_64 ppc64
}