<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div><br>
</div>
<div>Hi, </div>
<div><br>
</div>
<div>I have build and install failure when integrate cppcheck plugin to Kdevelop 4.7.0 and Kdevelop Platform 1.7.0. But, there is no any issue if integrate to Kdve 4.6.0 and platform 1.6.0.</div>
<div><br>
</div>
<div>I fetch the cppcheck plugin source code from: git clone git://anongit.kde.org/kdev-cppcheck</div>
<div>I made build and install with: mkdir build && cd build && cmake ../ && make && sudo make install</div>
<div>If anyone have any ideas about this, I will appreciate.</div>
<div><br>
</div>
<div>Best,</div>
<div>Hubiao</div>
<div><br>
</div>
<div><br>
</div>
<div>Part of the bug message is following:</div>
<div>
<div>/usr/local/include/kdevplatform/config-kdevplatform.h:9:25: error: ‘noexcept’ does not name a type</div>
<div> #define Q_DECL_NOEXCEPT noexcept</div>
<div>                         ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/indexedstring.h:87:38: note: in expansion of macro ‘Q_DECL_NOEXCEPT’</div>
<div>   IndexedString( IndexedString&& o ) Q_DECL_NOEXCEPT</div>
<div>                                      ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/editor/documentrange.h:24:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:36,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/language/duchain/indexedstring.h:171:41: error: expected ‘,’ or ‘...’ before ‘&&’ token</div>
<div>   IndexedString& operator=(IndexedString&& o) Q_DECL_NOEXCEPT</div>
<div>                                         ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/indexedstring.h:171:45: error: expected ‘;’ at end of member declaration</div>
<div>   IndexedString& operator=(IndexedString&& o) Q_DECL_NOEXCEPT</div>
<div>                                             ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/indexedstring.h:19:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/editor/documentrange.h:24,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:36,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/config-kdevplatform.h:9:25: error: ‘noexcept’ does not name a type</div>
<div> #define Q_DECL_NOEXCEPT noexcept</div>
<div>                         ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/indexedstring.h:171:47: note: in expansion of macro ‘Q_DECL_NOEXCEPT’</div>
<div>   IndexedString& operator=(IndexedString&& o) Q_DECL_NOEXCEPT</div>
<div>                                               ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/instantiationinformation.h:24:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/duchain/declaration.h:28,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:37,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/language/duchain/types/indexedtype.h:43:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]</div>
<div>     IndexedType(bool) = delete;</div>
<div>                         ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/declaration.h:29:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:37,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:63:38: error: expected ‘,’ or ‘...’ before ‘&&’ token</div>
<div>   IndexedIdentifier(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
<div>                                      ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:63:44: error: invalid constructor; you probably meant ‘KDevelop::IndexedIdentifier (const KDevelop::IndexedIdentifier&)’</div>
<div>   IndexedIdentifier(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
<div>                                            ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:63:44: error: expected ‘;’ at end of member declaration</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/indexedstring.h:19:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/editor/documentrange.h:24,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:36,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/config-kdevplatform.h:9:25: error: ‘noexcept’ does not name a type</div>
<div> #define Q_DECL_NOEXCEPT noexcept</div>
<div>                         ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:63:46: note: in expansion of macro ‘Q_DECL_NOEXCEPT’</div>
<div>   IndexedIdentifier(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
<div>                                              ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/declaration.h:29:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:37,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:66:49: error: expected ‘,’ or ‘...’ before ‘&&’ token</div>
<div>   IndexedIdentifier& operator=(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
<div>                                                 ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:66:55: error: expected ‘;’ at end of member declaration</div>
<div>   IndexedIdentifier& operator=(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
<div>                                                       ^</div>
<div>In file included from /usr/local/include/kdevplatform/language/duchain/indexedstring.h:19:0,</div>
<div>                 from /usr/local/include/kdevplatform/language/editor/documentrange.h:24,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/codecontext.h:36,</div>
<div>                 from /usr/local/include/kdevplatform/language/interfaces/editorcontext.h:25,</div>
<div>                 from /home/hyang/kdev-cppcheck/plugin.cpp:55:</div>
<div>/usr/local/include/kdevplatform/config-kdevplatform.h:9:25: error: ‘noexcept’ does not name a type</div>
<div> #define Q_DECL_NOEXCEPT noexcept</div>
<div>                         ^</div>
<div>/usr/local/include/kdevplatform/language/duchain/identifier.h:66:57: note: in expansion of macro ‘Q_DECL_NOEXCEPT’</div>
<div>   IndexedIdentifier& operator=(IndexedIdentifier&& rhs) Q_DECL_NOEXCEPT;</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>-- </div>
<div><b>Hubiao Yang</b><br>
Software Engineer<br>
h.yang@genexis.eu <br>
<br>
Skype: hyang.genexis<br>
<br>
<b>Genexis BV</b><br>
Lodewijkstraat 1a<br>
5652 AC Eindhoven<br>
The Netherlands<br>
 <br>
<a href="http://www.genexis.eu">http://www.genexis.eu</a> </div>
</div>
</body>
</html>