Strange warning text

Felix Lee felix.1@canids.net
Wed Mar 24 00:44:00 GMT 2004


Christoph Rabel <odie@hal9000.vc-graz.ac.at>:
> 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
--



More information about the Gcc-help mailing list