Re: header not included but used in vl.c

2019-10-09 Thread Stefan Hajnoczi
On Tue, Oct 01, 2019 at 03:06:56PM +0300, Toe Dev wrote: > does it have a reason why the file vl.c lacks reference > #include "qemu/module.h" ? > but still uses the defines include their(for example the enum value: > MODULE_INIT_OPTS)? > I'm using eclipse so I was notified by the IDE immediately

Re: header not included but used in vl.c

2019-10-01 Thread Daniel P . Berrangé
On Tue, Oct 01, 2019 at 03:12:17PM +0300, Toe Dev wrote: > Hello, > does it have a reason why the file vl.c lacks reference > #include "qemu/module.h" ? > but still uses the defines include their(for example the enum value: > MODULE_INIT_OPTS)? qemu/module.h is included by qom/object.h which is

header not included but used in vl.c

2019-10-01 Thread Toe Dev
Hello, does it have a reason why the file vl.c lacks reference #include "qemu/module.h" ? but still uses the defines include their(for example the enum value: MODULE_INIT_OPTS)? I'm using eclipse so I was notified by the IDE immediately. Thanks for yours help :)

header not included but used in vl.c

2019-10-01 Thread Toe Dev
Hello, does it have a reason why the file vl.c lacks reference #include "qemu/module.h" ? but still uses the defines include their(for example the enum value: MODULE_INIT_OPTS)? I'm using eclipse so I was notified by the IDE immediately. Thanks for yours help :)