This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Strange warning text
- From: Felix Lee <felix dot 1 at canids dot net>
- To: Christoph Rabel <odie at hal9000 dot vc-graz dot ac dot at>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 23 Mar 2004 11:30:57 -0800
- Subject: Re: Strange warning text
- References: <406059BB.4040908@hal9000.vc-graz.ac.at>
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
--