Re: [Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules

2012-11-12 Thread Eduardo Habkost
On Mon, Nov 12, 2012 at 10:57:42PM +0100, Andreas Färber wrote: > Am 09.11.2012 15:56, schrieb Eduardo Habkost: > > Every time we make a tiny change on a header file, we often find > > circular header dependency problems. To avoid this nightmare, we need to > > stop including qemu-common.h on other

Re: [Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules

2012-11-12 Thread Andreas Färber
Am 09.11.2012 15:56, schrieb Eduardo Habkost: > Every time we make a tiny change on a header file, we often find > circular header dependency problems. To avoid this nightmare, we need to > stop including qemu-common.h on other headers, and we should gradually "from other headers" as below? > mov

[Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules

2012-11-09 Thread Eduardo Habkost
Every time we make a tiny change on a header file, we often find circular header dependency problems. To avoid this nightmare, we need to stop including qemu-common.h on other headers, and we should gradually move the declarations from the catchall qemu-common.h header to their specific headers. T

[Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules

2012-11-09 Thread Eduardo Habkost
Every time we make a tiny change on a header file, we often find circular header dependency problems. To avoid this nightmare, we need to stop including qemu-common.h on other headers, and we should gradually move the declarations from the catchall qemu-common.h header to their specific headers. T

[Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules

2012-10-23 Thread Eduardo Habkost
Every time we make a tiny change on a header file, we often find circular header dependency problems. To avoid this nightmare, we need to stop including qemu-common.h on other headers, and we should gradually move the declarations from the catchall qemu-common.h header to their specific headers. T