- Added some asserts to check for overflows

- Removed a useless functions (was used for debug)
- Fixed 2 warnings in createTorrent.ui
- Improved CXX_FLAGS in src.pro
This commit is contained in:
Christophe Dumez
2007-08-29 06:33:27 +00:00
parent 06cb5ff4c6
commit 057029787a
5 changed files with 8 additions and 18 deletions

View File

@@ -19,18 +19,17 @@ DEFINES += VERSION_BUGFIX=0
contains(DEBUG_MODE, 1){
CONFIG += debug
CONFIG -= release
QMAKE_CXXFLAGS_RELEASE += -fwrapv -O1
QMAKE_CXXFLAGS_DEBUG += -fwrapv -O1
message(Debug build!)
}
contains(DEBUG_MODE, 0){
CONFIG -= debug
CONFIG += release
QMAKE_CXXFLAGS_RELEASE += -fwrapv -O2
QMAKE_CXXFLAGS_DEBUG += -fwrapv -O2
message(Release build!)
}
QMAKE_CXXFLAGS_RELEASE += -fwrapv -O2
QMAKE_CXXFLAGS_DEBUG += -fwrapv -O1
CONFIG += link_pkgconfig
PKGCONFIG += libtorrent libccext2 libccgnu2
QT += network xml