From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUUgt-0003Ny-SS for qemu-devel@nongnu.org; Wed, 05 Dec 2018 05:46:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUUgp-0004r8-PB for qemu-devel@nongnu.org; Wed, 05 Dec 2018 05:46:03 -0500 Date: Wed, 5 Dec 2018 11:45:47 +0100 From: Cornelia Huck Message-ID: <20181205114547.6d1f2c2d.cohuck@redhat.com> In-Reply-To: <874lbs2y8e.fsf@dusky.pond.sub.org> References: <20181204172535.2799-1-armbru@redhat.com> <874lbs2y8e.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Clean up includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Eric Blake , qemu-devel@nongnu.org, Tony Krowiak , qemu-riscv@nongnu.org, Pierre Morel , Viktor Prutyanov , Bastian Koppelmann , Richard Henderson , Palmer Dabbelt , Alex Williamson , Yuval Shaia , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, Michael Clark , Alistair Francis , Sagar Karandikar , Paolo Bonzini , Stefan Berger , Eduardo Habkost On Wed, 05 Dec 2018 09:07:13 +0100 Markus Armbruster wrote: > > On 12/4/18 11:25 AM, Markus Armbruster wrote: > >> Clean up includes so that osdep.h is included first and headers > >> which it implies are not included manually. > >> > >> This commit was created with scripts/clean-includes, with the changes > >> to the following files manually reverted: (...) > >> target/s390x/gen-features.c (..) > target/s390x/gen-features.c is a standalone program that is compiled in > a way that breaks when we include osdep.h. If that's fixable, fixing it > would be nice. Aside: not sure I'd have written this in C. Yes, that file is a bit of an oddball. Might make sense to add a comment there that it is standalone, so you can find that out without looking at the Makefile. I don't think rewriting this to something else is worth the effort.