From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhRm2-0001Dn-I7 for mharc-grub-devel@gnu.org; Tue, 16 Feb 2010 13:03:50 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhRm1-0001DM-7j for grub-devel@gnu.org; Tue, 16 Feb 2010 13:03:49 -0500 Received: from [140.186.70.92] (port=47383 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhRm0-0001D2-LO for grub-devel@gnu.org; Tue, 16 Feb 2010 13:03:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhRm0-0006Rv-0r for grub-devel@gnu.org; Tue, 16 Feb 2010 13:03:48 -0500 Received: from nereid.marlboro.edu ([206.192.68.76]:35763) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhRlz-0006RW-UX for grub-devel@gnu.org; Tue, 16 Feb 2010 13:03:47 -0500 Received: from [192.168.1.103] (71-10-224-192.dhcp.oxfr.ma.charter.com [71.10.224.192]) (Authenticated sender: idupree) by nereid.marlboro.edu (Postfix) with ESMTPSA id 4F5552341DA; Tue, 16 Feb 2010 13:03:20 -0500 (EST) Message-ID: <4B7ADDF6.3090500@isaac.cedarswampstudios.org> Date: Tue, 16 Feb 2010 13:03:34 -0500 From: Isaac Dupree User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Shredder/3.0.1 MIME-Version: 1.0 To: The development of GNU GRUB References: <4B736F82.7010005@gmail.com> <4B742B70.3080303@gmail.com> <4B7A9075.9050400@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-Marlboro-Information: Please contact techsupport@marlboro.edu for more information X-Marlboro-MailScanner-ID: 4F5552341DA.A00FE X-Marlboro-MailScanner: clean X-Marlboro-SpamCheck: not spam, SpamAssassin (not cached, score=-1.199, required 5.5, autolearn=disabled, ALL_TRUSTED -1.80, BAYES_50 0.00, J_CHICKENPOX_43 0.60) X-Marlboro-MailScanner-From: ml@isaac.cedarswampstudios.org X-Marlboro-MailScanner-Watermark: 1266948200.50889@AMsv4SmPfcJl+IcmCkPwNg Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [RFC] Framebuffer rotation patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Tue, 16 Feb 2010 18:03:49 -0000 On 02/16/10 10:52, Michal Suchanek wrote: >> enum allows it just fine > > Not here: > > typedef enum t1 { BTI1 =3D 1, typo, should be "BIT1". then it works. (In C. Also remember not to get=20 confused by the fact that it doesn't work in C++, for type-related=20 reasons that we don't need to get into here because GRUB is written in C.= ) > BIT2 =3D 2, > BIT12 =3D BIT1 + BIT2} t; > > int main(int argc, char** argv) { return 0 ; } > > testenum.c:3: error: =E2=80=98BIT1=E2=80=99 undeclared here (not in a f= unction) -Isaac