* Added Clang-related flag to gui.pro
* Updated external lib location with PWD variable
This commit is contained in:
parent
ec21134817
commit
141a071792
|
@ -15,7 +15,7 @@ contains(LINKCORE, [yY][eE][sS]) {
|
|||
LIBS += -l../bin/cppcheck-core
|
||||
DEFINES += CPPCHECKLIB_IMPORT
|
||||
}
|
||||
LIBS += -L../externals
|
||||
LIBS += -L$$PWD/../externals
|
||||
|
||||
DESTDIR = .
|
||||
RCC_DIR = temp
|
||||
|
@ -149,3 +149,9 @@ win32 {
|
|||
contains(QMAKE_CC, gcc) {
|
||||
QMAKE_CXXFLAGS += -std=c++0x
|
||||
}
|
||||
|
||||
macx {
|
||||
contains(QMAKE_CXX, clang++) {
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2761,7 +2761,7 @@ void Tokenizer::setVarId()
|
|||
}
|
||||
|
||||
// class members..
|
||||
std::map<std::string, std::map<std::string, unsigned int>> varlist;
|
||||
std::map<std::string, std::map<std::string, unsigned int> > varlist;
|
||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||
if (Token::Match(tok, "namespace|class|struct %var% {|:")) {
|
||||
const std::string &classname(tok->next()->str());
|
||||
|
|
Loading…
Reference in New Issue