Strange warning text

Christoph Rabel odie@hal9000.vc-graz.ac.at
Wed Mar 24 04:30:00 GMT 2004


Felix Lee wrote:

>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
>  
>

Thanx for your answer!

Christoph



More information about the Gcc-help mailing list