summaryrefslogtreecommitdiff
path: root/src/organizer.pro
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-03-13 19:35:20 +0100
committerTannin <devnull@localhost>2013-03-13 19:35:20 +0100
commitb3d0fcb2083143dc21c751adafd2523c3555e5d2 (patch)
tree6adeeedc26848af1d5dd96be17b4bca97ede085d /src/organizer.pro
parent93e073c32445eefba5595123b28acf87d9f409e8 (diff)
- some more safety checks in the ini-limit removal code
- some code cleanup and minor bug fixes based on results from static code analysis - added naemfilter for the esp list - bsa changes are now stored automatically but delayed by up to 0.5 seconds (for performance reasons) - bugfix: buffer overrun when certain functions are called with empty file names - bugfix: reroute for the ini-limit fix was placed in the data segment - bugfix: mod list got mixed up when the mod directory was changed externally - bugfix: plugins.txt reroute on skyrim didn't work on winXP - bugfix: MO could become unresponsive if the tutorial script couldn't be interpreted
Diffstat (limited to 'src/organizer.pro')
-rw-r--r--src/organizer.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/organizer.pro b/src/organizer.pro
index 723c1e04..86e9c616 100644
--- a/src/organizer.pro
+++ b/src/organizer.pro
@@ -199,6 +199,11 @@ CONFIG(debug, debug|release) {
QMAKE_LFLAGS += /DEBUG
}
+QMAKE_CXXFLAGS_WARN_ON -= -W3
+QMAKE_CXXFLAGS_WARN_ON += -W4
+QMAKE_CXXFLAGS += -wd4127 -wd4512 -wd4189
+
+
CONFIG += embed_manifest_exe
# QMAKE_CXXFLAGS += /analyze
@@ -231,7 +236,7 @@ TRANSLATIONS = organizer_de.ts \
PRE_TARGETDEPS += compiler_TSQM_make_all
} else:message(No translation files in project)
-LIBS += -lmo_shared -luibase -lshell32 -lole32 -luser32 -ladvapi32 -lgdi32 -lPsapi -lVersion -lbsatk
+LIBS += -lmo_shared -luibase -lshell32 -lole32 -luser32 -ladvapi32 -lgdi32 -lPsapi -lVersion -lbsatk -lshlwapi
DEFINES += UNICODE _UNICODE _CRT_SECURE_NO_WARNINGS NOMINMAX