Re: [Qbs] Clang and linking C++ on Windows

2018-05-01 Thread Joerg Bornemann
On 05/01/2018 10:00 PM, resurrect...@centrum.cz wrote: What should be done in my opinion is to add windows-clang.qbs file similar to existing windows-msvc.qbs and windows-mingw.qbs in cpp module. And of course the profile routing would need to be changed so that Clang on Windows does not auto

[Qbs] Clang and linking C++ on Windows

2018-05-01 Thread resurrection
After digging around this bug report: https://bugreports.qt.io/browse/QBS-1322 I was able to work around the Clang compiler not being invoked correctly on Windows when targeting x86_64 architecture. The culprit was automatically set flag "cpp.positionI