Skip to content
Commit 8aa68434 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

Explicitly pass -std=gnu++14 to clang when generating bindings

The generator expression here looks like it should work, but it does not
set the appropriate flags for compilation.  It seems that the
CXX_STANDARD property is not yet populated at the time the generator
expression is evaluated (to be investigated later).

This came to light because users of Qt 5.7+ attempted to generate the
bindings, but they encountered errors.  The step of using libclang to
parse the provided headers was actually failing, but that was not
noticed, perhaps because the logging infrastructure in sip_generator
does not emit it (to investigate later).

BUG: 374801
parent 1915787b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment