The warnings are as follows:

warning: implicit declaration of function 'armv7m_init'
[-Wimplicit-function-declaration]
nvic = armv7m_init(systemMemory, memsz, NUM_IRQ_LINES, kernel_filename,
cpu_type);

warning: implicit declaration of function 'qemu_allocate_irq'
[-Wimplicit-function-declaration]
qdev_connect_gpio_out_named(nvic, "SYSRESETREQ", 0,
qemu_allocate_irq(&do_sys_reset, NULL, 0));

Thanks,
Abhijeet.

On Tue, Jul 6, 2021, 16:59 Peter Maydell <peter.mayd...@linaro.org> wrote:

> On Tue, 6 Jul 2021 at 15:48, abhijeet inamdar
> <abhijeetinamdar3...@gmail.com> wrote:
> >
> > Hi,
> >
> > I am trying to build custom machine in QEMU-4.2.0.
> >
> > I'm getting some warning regarding armv7m_init() saying implicit
> declaration but I have defined it in the armv7m.c,  even same kind of
> warning for the qemu_allocate_irq().
>
> If you want assistance with compiler warnings or errors you really
> must quote the exact error message. Otherwise you're asking us
> to guess based on a very vague paraphrasing.
>
> thanks
> -- PMm
>

Reply via email to