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 _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
