[Qt-creator] Use #pragma once as default instead of header guards

Cristian Adam cristian.adam at gmail.com
Thu Jan 14 10:16:27 CET 2016


On Thu, Jan 14, 2016 at 10:10 AM, Christian Kandeler <
christian.kandeler at theqtcompany.com> wrote:

> On 01/13/2016 03:22 PM, Nikolai Kosjar wrote:
>
>> On 01/13/2016 01:52 PM, Joerg Bornemann wrote:
>>
>>> Still, as it came up, this argument raises the interesting question what
>>> will happen to users of the clang code model that cannot switch to
>>> (non-standard) pragma once for this or that reason?
>>>
>>> What would it take to fix this problem? Can we work around it? Can we
>>> provide an upstream fix?
>>>
>>
>> A fix from Erik is pending for review at http://reviews.llvm.org/D15994
>> , but so far there were no comments.
>>
>
> It seems to have been accepted now. Which version will it end up in?
>
>
Qt Creator ships with its own libclang.dll/so, which could be patched. It
would be
a problem only for the Linux distributions.

Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160114/6754993f/attachment.html>


More information about the Qt-creator mailing list