Improved flags in gui.pro:
- shlwapi.lib is not necessary if dynamic linking is used - Do not define _CRT_SECURE_NO_WARNINGS explicitly, it gets defined anyway.
This commit is contained in:
parent
4d01af3fe1
commit
c31f7c7a48
|
@ -152,10 +152,12 @@ SOURCES += aboutdialog.cpp \
|
|||
libraryeditargdialog.cpp
|
||||
|
||||
win32 {
|
||||
DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||
RC_FILE = cppcheck-gui.rc
|
||||
HEADERS += ../lib/version.h
|
||||
LIBS += -lshlwapi
|
||||
contains(LINKCORE, [yY][eE][sS]) {
|
||||
} else {
|
||||
LIBS += -lshlwapi
|
||||
}
|
||||
}
|
||||
|
||||
contains(QMAKE_CC, gcc) {
|
||||
|
|
|
@ -192,9 +192,9 @@ public:
|
|||
std::string stringify() const;
|
||||
|
||||
unsigned int line;
|
||||
|
||||
private:
|
||||
std::string _file;
|
||||
|
||||
};
|
||||
|
||||
ErrorMessage(const std::list<FileLocation> &callStack, Severity::SeverityType severity, const std::string &msg, const std::string &id, bool inconclusive);
|
||||
|
|
Loading…
Reference in New Issue