File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ contains(LINKCORE, [yY][eE][sS]) {
1515 LIBS += -l../bin/cppcheck-core
1616 DEFINES += CPPCHECKLIB_IMPORT
1717}
18- LIBS += -L../externals
18+ LIBS += -L $$PWD / ../externals
1919
2020DESTDIR = .
2121RCC_DIR = temp
@@ -149,3 +149,9 @@ win32 {
149149contains (QMAKE_CC, gcc ) {
150150 QMAKE_CXXFLAGS += -std =c ++0x
151151}
152+
153+ macx {
154+ contains (QMAKE_CXX, clang++ ) {
155+ QMAKE_CXXFLAGS += -std =c ++11
156+ }
157+ }
Original file line number Diff line number Diff line change @@ -2761,7 +2761,7 @@ void Tokenizer::setVarId()
27612761 }
27622762
27632763 // class members..
2764- std::map<std::string, std::map<std::string, unsigned int >> varlist;
2764+ std::map<std::string, std::map<std::string, unsigned int > > varlist;
27652765 for (Token *tok = list.front (); tok; tok = tok->next ()) {
27662766 if (Token::Match (tok, " namespace|class|struct %var% {|:" )) {
27672767 const std::string &classname (tok->next ()->str ());
You can’t perform that action at this time.
0 commit comments