Re: [PATCH] trace-cmd: Fix build with gcc-10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Apr 2020 21:39:14 +0100
Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> wrote:

> The build fails while building with gcc-10 with the error:
> multiple definition of `common_type_field'

I'd say this is a bug in gcc.

Both variables are static to the files. Why is it complaining?

If its a new "feature" of gcc, I would look to see if there's a way to
quiet the warning, and adding that to the Makefile instead.

-- Steve

> 
> Rename the field in trace-hist.c and trace-mem.c to satisfy gcc-10.
> 



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux