Messages in this thread | | | From | "Yu, Fenghua" <> | Subject | RE: [PATCH v4 08/10] selftests/resctrl Add Cache QoS Monitoring (CQM) selftest | Date | Wed, 2 Jan 2019 20:54:59 +0000 |
| |
> From: Moger, Babu [mailto:Babu.Moger@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
| |