> From: Moger, Babu [mailto:babu.mo...@amd.com]
>   for (int i = 0; i < argc; i++) {
>            ^
> resctrl_tests.c:39:56: note: previous declaration of 'i' was here
>   int res, c, core_id = 1, span = 250, argc_new = argc, i, no_of_bits = 5;
>                                                         ^
> resctrl_tests.c:46:2: error: 'for' loop initial declarations are only allowed 
> in
> C99 mode
>   for (int i = 0; i < argc; i++) {
>   ^
> resctrl_tests.c:46:2: note: use option -std=c99 or -std=gnu99 to compile your
> code

Sure. Will fix this.

Thanks.

-Fenghua

Reply via email to