This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange warning text


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]