[Development] Clang (trunk) no longer builds Qt applications
Tobias Hunger
tobias.hunger at digia.com
Tue Oct 22 15:35:24 CEST 2013
On 22.10.2013 15:31, Nicolás Alvarez wrote:
> I don't think the standard is relevant here. The C++ standard doesn't
> and can't say anything about whether 'break' and 'continue' are allowed
> in a statement expression inside the 'for' header, because statement
> expressions don't exist in the standard to begin with; they are a gcc
> extension. Clang has to reverse engineer the exact semantics from gcc
> behavior.
So can we avoid relying on GCC extensions here?
I doubt that we can ask clang to be 100% compatible with GCC anyway and
making that a requirement for Qt to function properly is not what we
should aim for IMHO.
Best Regards,
Tobias
--
Tobias Hunger, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868
Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Development
mailing list