[Development] #pragma once

Mitch Curtis mitch.curtis at qt.io
Wed Jan 24 11:13:50 CET 2018


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.



More information about the Development mailing list