From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W2nRf-0002WD-K0 for mharc-grub-devel@gnu.org; Mon, 13 Jan 2014 14:45:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2nRY-0002IL-7B for grub-devel@gnu.org; Mon, 13 Jan 2014 14:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2nRS-0002Iq-Lp for grub-devel@gnu.org; Mon, 13 Jan 2014 14:45:04 -0500 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:47187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2nRS-0002Ij-Dy for grub-devel@gnu.org; Mon, 13 Jan 2014 14:44:58 -0500 Received: by mail-la0-f47.google.com with SMTP id eh20so3290444lab.34 for ; Mon, 13 Jan 2014 11:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=7jKUSqE/rySYST6VFt+zTFepIuPptRN6HZ98HZKet9A=; b=gZ9235rGFAG6gVNUZIvAUSqYE7m+57JfYxE+wLVT7SAx1dXOFpAioP0GPNvYqyUdOD 9e8XtgQrX7yDiea8ynBrPoptMEOWeYWyVp92mGcuEuSFTeU+avX4fA693tHY2Y6oBAeg uYM9baozo5Vf+FlRSojjk1SEH4phWTri0ABBQGBHDMP304tCc0NALHwYuIx3oVPfD5lf ViO3TXAf438lT4VGPaIXljoNtRR2E06RpsksQ1hSL9uEP5yPAn0rejxbTklxzKuXQxiL wGM6Y6yvOKbUJ1t4CIKXxPZ55f2IOxDmQDiWWT3y1X7dQr+VEVdoJBjDYrX5s55jeX/k 3fgw== X-Received: by 10.152.228.168 with SMTP id sj8mr525312lac.59.1389642297309; Mon, 13 Jan 2014 11:44:57 -0800 (PST) Received: from opensuse.site (ppp91-76-163-241.pppoe.mtu-net.ru. [91.76.163.241]) by mx.google.com with ESMTPSA id j1sm10296160lbl.10.2014.01.13.11.44.56 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 13 Jan 2014 11:44:56 -0800 (PST) Date: Mon, 13 Jan 2014 23:44:55 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: conflicting types for 'grub_list_push' on MinGW (include loop) Message-ID: <20140113234455.0dfb7b9b@opensuse.site> In-Reply-To: <20140113183341.GA16811@riva.ucam.org> References: <20140113221705.4fa58f60@opensuse.site> <20140113183341.GA16811@riva.ucam.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 19:45:09 -0000 В Mon, 13 Jan 2014 18:33:41 +0000 Colin Watson пишет: > On Mon, Jan 13, 2014 at 10:17:05PM +0400, Andrey Borzenkov wrote: > > I'm not sure what to do here. list.h needs misc.h apparently only for > > definition of ATTRIBUTE_ERROR which in turn does not appear to be used > > anywhere else. This is not fatal so may be can be ignored for now, but > > still would be nice to clean up. > > Maybe we could instead move grub_strtol into grub-core/kern/misc.c, > after which we'd no longer need to include from > ? > I'd rather move compiler features into separate file (like grub/compiler.h) and include it from misc.h and separately from list.h.