Re: Strange warning in C++11 range based for loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Wakely <jwakely.gcc@xxxxxxxxx> writes:

> You could file an enhancement request in Bugzilla requesting that the
> warning is disabled for the variable in the for-range-declaration.

Personally I think this is the way to go.  The variable is implicitly
used, and the warning should reflect that.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux