Re: Problem with array initialization

2011-06-21 Thread Jonathan Wakely
On 21 June 2011 10:39, Aneesh V wrote: > Not sue if this is the right place to report this problem. It's not, as explained on the website. As stated at http://gcc.gnu.org/lists.html for help using GCC you should use the gcc-help list, or to report bugs see the "How to report" link on the GCC home

Problem with array initialization

2011-06-21 Thread Aneesh V
Not sue if this is the right place to report this problem. The following doesn't compile for me. -snip--- #include const int const1 = 10; const int const2 = 11; int arr[] = { const1, const2 }; int main(void) { printf("consts %d