Re: [perfmon2] Possible unitialized variable in the perf_examples/task.c

2024-04-15 Thread William Cohen
On 4/15/24 20:30, Stephane Eranian wrote: > Hi William, > > Thanks for the bug report. I have fixed the problem upstream now. Thanks for the quick update. -Will > > On Mon, Apr 15, 2024 at 11:59 AM William Cohen wrote: >> >> When attempting to compile the recent checkout out of libpfm as an r

Re: [perfmon2] Possible unitialized variable in the perf_examples/task.c

2024-04-15 Thread Stephane Eranian via perfmon2-devel
Hi William, Thanks for the bug report. I have fixed the problem upstream now. On Mon, Apr 15, 2024 at 11:59 AM William Cohen wrote: > > When attempting to compile the recent checkout out of libpfm as an rpm the > compiler reported the following warning: > > gcc -O2 -flto=auto -ffat-lto-objects

[perfmon2] Possible unitialized variable in the perf_examples/task.c

2024-04-15 Thread William Cohen
When attempting to compile the recent checkout out of libpfm as an rpm the compiler reported the following warning: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS