All of lore.kernel.org
 help / color / mirror / Atom feed
* Warnings with GCC 9.3
@ 2020-04-23 16:18 Pranith Kumar
  2020-04-23 16:53 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Pranith Kumar @ 2020-04-23 16:18 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

Hello,

I keep seeing these warnings on the latest master with GCC 9.3:

/home/pranith/qemu/hw/block/pflash_cfi01.c: In function
‘pflash_mem_read_with_attrs’:

/home/pranith/qemu/hw/block/pflash_cfi01.c:667:20: note: parameter passing
for argument of type ‘MemTxAttrs’ {aka ‘struct MemTxAttrs’} changed in GCC
9.1
  667 | static MemTxResult pflash_mem_read_with_attrs(void *opaque, hwaddr
addr, uint64_t *value,

      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~


Are there any patches in queue to fix this before the release?

Thanks,
-- 
Pranith

[-- Attachment #2: Type: text/html, Size: 1303 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Warnings with GCC 9.3
  2020-04-23 16:18 Warnings with GCC 9.3 Pranith Kumar
@ 2020-04-23 16:53 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2020-04-23 16:53 UTC (permalink / raw)
  To: Pranith Kumar; +Cc: qemu-devel

On Thu, 23 Apr 2020 at 17:19, Pranith Kumar <bobby.prani@gmail.com> wrote:
>
> Hello,
>
> I keep seeing these warnings on the latest master with GCC 9.3:
>
> /home/pranith/qemu/hw/block/pflash_cfi01.c: In function ‘pflash_mem_read_with_attrs’:
> /home/pranith/qemu/hw/block/pflash_cfi01.c:667:20: note: parameter passing for argument of type ‘MemTxAttrs’ {aka ‘struct MemTxAttrs’} changed in GCC 9.1
>   667 | static MemTxResult pflash_mem_read_with_attrs(void *opaque, hwaddr addr, uint64_t *value,
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Are there any patches in queue to fix this before the release?

No. This bug report is at least a week too late for a fix to
get into the 5.0 release... (but it's not too critical,
because releases always disable the -Werror flag, so they
don't make the build fail).

thanks
-- PMM


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-23 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 16:18 Warnings with GCC 9.3 Pranith Kumar
2020-04-23 16:53 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.