[Qbs] isystem with clang
christian.kandeler at qt.io
Wed May 20 12:23:44 CEST 2020
On Wed, 20 May 2020 22:11:20 +1200
Christian Gagneraud <chgans at gmail.com> wrote:
> Couldn't find any definite answer about using '-isystem' to avoid the
> compiler to report warning as error in 3rd party headers (qt, gtest,
> Looking at the cpp module, i can see some logic, but I can't seem to
> find a way to force the use of isystem.
> The only suggestion I found was to hack Qt's modules to change
> cpp.includePath to cpp.systemIncludePath.
> Is this still the case, or am i missing something?
Not sure what you mean. Use cpp.systemIncludePaths for things under
your control. For Qt, the respective patch was rejected for some strange
reason; see https://codereview.qt-project.org/c/qbs/qbs/+/90492.
More information about the Qbs