grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lists and aliasing (Re: Freeze on 27 February)


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Lists and aliasing (Re: Freeze on 27 February)
Date: Thu, 23 Feb 2012 07:17:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0

>../../../grub-core/normal/charset.c: In function 'grub_bidi_line_logical_to_visual': ../../../grub-core/normal/charset.c:737: error: cannot optimize possibly infinite > loops If I do what is already done for GRUB_LONG_MIN and use: #define GRUB_INT_MIN (-0x7fffffff - 1) ...then gcc 4.6 is happy. gcc 4.4 goes on complaining
> about the inability to optimize possibly infinite loops.
in charset.c we actually want to ensure that it doesn't go negative. In grub-mkfont.c it's ok to disable warning altogether. Here is the patch (+grub-install fix)


--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: warn+install.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]