[Development] #pragma once

Alexander Nassian nassian at bitshift-dynamics.com
Wed Jan 24 11:22:23 CET 2018


Maybe because it’s not part of the C++ standard?

Beste Grüße / Best regards,
Alexander Nassian

> Am 24.01.2018 um 11:13 schrieb Mitch Curtis <mitch.curtis at qt.io>:
> 
> Why don't we use #pragma once in Qt like Qt Creator does? If it's due to old compilers that we have to support, which ones are the problem?
> 
> - Someone who just spent too much time looking at a confusing compiler error caused by duplicated include guards.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


-- 
 


—

bitshift dynamics GmbH
Neudorfer Str. 1, 79541 Lörrach
Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747
Geschäftsführer: Alexander Nassian, Markus Pfaffinger

http://www.bitshift-dynamics.de

Zentrale: +49 762158673 - 0
Fax: +49 7621 58673 - 90

Allgemeine Anfragen: info at bitshift-dynamics.com
Technischer Support: support at bitshift-dynamics.com
Buchhaltung: invoice at bitshift-dynamics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180124/680dfe53/attachment.html>


More information about the Development mailing list