Re: [Qt-creator] Clang-Tidy and Clazy analyzer using '-D__cplusplus=199711L'

2018-08-09 Thread Tyson Wiser
Thank you for the quick response. I do not have a Qt account so I cannot file the bug. I think I have included everything that you would need to reproduce the problem below. Note that the default for my version of GCC is C++98. Qt Creator: 4.7.0 built on Jul 17 2018 04:23:40 from revision dedbb40f

Re: [Qt-creator] Clang-Tidy and Clazy analyzer using '-D__cplusplus=199711L'

2018-08-09 Thread Ivan Donchevskii
Hi! We use defines we get from the compiler which is set in your current Kit. It might be possible that we have some bug in the process of getting them. Please create a bugreport (bugreports.qt.io) with a small code example so we can reproduce the issue and fix it. Kind regards, Ivan _

[Qt-creator] Clang-Tidy and Clazy analyzer using '-D__cplusplus=199711L'

2018-08-09 Thread Tyson Wiser
First of all, thank you for creating and maintaining this great IDE. It has been a great tool. More details follow, but in a nutshell, I'm having trouble using the 'Clang-Tidy and Clazy...' analyzers in Qt Creator 4.7 on CentOS 7. It appears that it is incorrectly defining __cplusplus, which cause