mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 20:50:43 +00:00
Merge branch 'fix-warnings' into prs1-f0v6
This commit is contained in:
commit
bcce5f698d
@ -450,8 +450,13 @@ DISTFILES += help/default.css \
|
|||||||
help/index.qhcp
|
help/index.qhcp
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create a debug GUI build by adding "CONFIG+=debug" to your qmake command
|
|
||||||
debug {
|
# Always treat warnings as errors, even (especially!) in release
|
||||||
|
QMAKE_CFLAGS += -Werror
|
||||||
|
QMAKE_CXXFLAGS += -Werror
|
||||||
|
|
||||||
|
# Create a debug GUI build by adding "CONFIG+=memdebug" to your qmake command
|
||||||
|
memdebug {
|
||||||
!win32 { # add memory checking on Linux and macOS debug builds
|
!win32 { # add memory checking on Linux and macOS debug builds
|
||||||
QMAKE_CFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
QMAKE_CFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
||||||
QMAKE_CXXFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
QMAKE_CXXFLAGS += -g -Werror -fsanitize=address -fno-omit-frame-pointer -fno-common -fsanitize-address-use-after-scope
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "statistics.h"
|
#include "statistics.h"
|
||||||
#include "CProgressBar.h"
|
#include "cprogressbar.h"
|
||||||
|
|
||||||
extern MainWindow *mainwin;
|
extern MainWindow *mainwin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user