Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-23 Thread Tobias Hunger
Good news: This was fixed again in revision 193170 in Clang. So this was indeed just a temporary hick-up in Clang. That is what you get for following trunk:-) Link to that revision: http://llvm.org/viewvc/llvm-project?view=revision&revision=193170 2013/10/22 Olivier Goffart : > On Tuesday 22 Oct

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Olivier Goffart
On Tuesday 22 October 2013 15:44:00 Simon Hausmann wrote: > On Tuesday 22. October 2013 15.35.24 Tobias Hunger wrote: > > 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 'c

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Giuseppe D'Angelo
On 22 October 2013 15:22, Keith Gardner wrote: > Couldn't Q_FOREACH/foreach use the range based for loops if the compiler > supports it? This way, there is no C++ trickery to enable the feature. No, because the semantics are different. -- Giuseppe D'Angelo _

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Simon Hausmann
On Tuesday 22. October 2013 15.35.24 Tobias Hunger wrote: > 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

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Tobias Hunger
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 stand

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Nicolás Alvarez
El martes, 22 de octubre de 2013, Tobias Hunger escribió: > I just noticed that clang from trunk is no longer able to build Qt > applications. This is due to a change which makes clang consider "break" > statements outside of a loop body or switch statement illegal. > > Unfortunately this triggers

Re: [Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Keith Gardner
On Tue, Oct 22, 2013 at 8:15 AM, Tobias Hunger wrote: > Hello, > > I just noticed that clang from trunk is no longer able to build Qt > applications. This is due to a change which makes clang consider "break" > statements outside of a loop body or switch statement illegal. > > Unfortunately this t

[Development] Clang (trunk) no longer builds Qt applications

2013-10-22 Thread Tobias Hunger
Hello, I just noticed that clang from trunk is no longer able to build Qt applications. This is due to a change which makes clang consider "break" statements outside of a loop body or switch statement illegal. Unfortunately this triggers on each Q_FOREACH/foreach used by Qt applications! The