lkml.org 
[lkml]   [2019]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v4 08/10] selftests/resctrl Add Cache QoS Monitoring (CQM) selftest
Date
> 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

\
 
 \ /
  Last update: 2019-01-02 21:56    [W:0.092 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site