[Development] Using #pragma once

Lars Knoll lars.knoll at qt.io
Sun Oct 7 16:37:19 CEST 2018


> On 7 Oct 2018, at 15:18, Sérgio Martins <sergio.martins at kdab.com> wrote:
> 
> On 2018-10-07 09:56, Lars Knoll wrote:
>> Hi,
>> Just a quick question: Does anybody have any good arguments against us
>> starting to use #pragma once instead of header guards throughout our
>> code base?
> 
> Hi Lars,
> 
> 
> This was already discussed back in January: https://lists.qt-project.org/pipermail/development/2018-January/031966.html
> 
> The conclusion was to keep using header guards.

Thanks. I must have missed that thread (or forgotten about it) :)

Cheers,
Lars



More information about the Development mailing list