Closed GoogleCodeExporter closed 9 years ago
Thanks. Out of curiosity, which compilers are you for the Qt and EFL ports that
do not support auto with your current set of compile flags?
Original comment by jamie.ma...@transgaming.com
on 23 Jul 2013 at 9:25
Original comment by jamie.ma...@transgaming.com
on 23 Jul 2013 at 9:27
They're using gcc. I've only seen that making this change fixes their
buildbots. I could go in and add -std=c++11 to their cflags, but since this is
the only place that auto caused a problem, it might be worth removing the only
use of auto and add compatibility for anyone who uses compilers that don't have
c++11 with ANGLE.
Original comment by achriste...@gmail.com
on 23 Jul 2013 at 9:39
Would it be a challenging task to add std=c++11 to the list of build flags?
It is only a single usage of auto that you see in the master branch, however we
have been using it more liberally in the es3proto branch.
GCC should be able to support auto since 4.4.
Original comment by jamie.ma...@transgaming.com
on 23 Jul 2013 at 9:49
If there are going to be many uses of auto I'll have to figure it out next time
we update. I just thought it would be nice to make ANGLE easy to include in
projects that support pre-2011 compilers.
Original comment by achriste...@gmail.com
on 23 Jul 2013 at 10:46
Use of auto is being removed from ANGLE.
Original comment by shannonw...@chromium.org
on 26 Jul 2013 at 8:25
Original comment by shannonw...@chromium.org
on 26 Jul 2013 at 8:25
At 07dd3ea6
Original comment by apatr...@chromium.org
on 26 Jul 2013 at 10:25
Original issue reported on code.google.com by
achriste...@gmail.com
on 23 Jul 2013 at 8:25