[Qt-creator] Qt Creator: unknown warning group on Q_OBJECT using clang code model
Carel Combrink
carel.combrink at gmail.com
Tue Mar 14 14:03:35 CET 2017
Hi,
I have just switched over to to using the ClangCodeModel in Qt Creator
4.2.1 but get the following warning on the O_OBJECT macro (see attached
image):
Lexical or Preprocessor Issue
20:5 warning unknown warning group '-Wsuggest-override', ignored.
...
Is this a known issue? I have looked through the bugreports but can't seem
to find anything.
I am using:
Qt Creator 4.2.1
Windows 7 x64
My project is set up using:
Qt 5.7 and MinGW 5
Might it be related to the the compiler passing/enabling the Q_CC_GNU code
check that clang then "sees" and parses?
Is there a way to work around this issue (it is less than ideal to just
ignore it)?
I will raise a bug if needed, just want some input around the issue first.
Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170314/a3affe27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QtCreator_clang_qobject.png
Type: image/png
Size: 21787 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170314/a3affe27/attachment.png>
More information about the Qt-creator
mailing list