Re: Strange warning text

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

 



Christoph Rabel <odie@xxxxxxxxxxxxxxxxxxxxx>:
> x12.cpp: In function `int main()':
> x12.cpp:6: warning: unused variable `int temp1[((size - 1) + 1)]'
> I was rather surprised by "((size - 1) + 1)" part.

fixed in gcc 3.4
I think this is the relevant change:
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg02468.html
--

[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