[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix for grub_assert_fail undefined on NetBSD and other platforms
From: |
Robert Millan |
Subject: |
Re: Fix for grub_assert_fail undefined on NetBSD and other platforms |
Date: |
Thu, 24 Dec 2009 22:55:26 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Dec 22, 2009 at 09:39:07PM +0530, BVK Chaitanya wrote:
> Hi
>
>
> Attached is the patch, which removes use of undefined grub_assert_fail
> function for catching bad-type-cast errors, with a better version
> __attribute__((error("msg"))) gcc extension. With this extension, gcc
> can give the exact location of the bad type cast at compile time.
Is this really a kind of error we'd like to report at run time? Sorry if
I'm missing something, but if we need additional code to handle it, and it
was known at compile time, why do we do this?
--
Robert Millan
"Be the change you want to see in the world" -- Gandhi
- Fix for grub_assert_fail undefined on NetBSD and other platforms, BVK Chaitanya, 2009/12/22
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, BVK Chaitanya, 2009/12/22
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, Grégoire Sutre, 2009/12/22
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, Felix Zielcke, 2009/12/22
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, Vladimir 'φ-coder/phcoder' Serbinenko, 2009/12/22
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, BVK Chaitanya, 2009/12/23
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, Gre'goire Sutre, 2009/12/23
- Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, BVK Chaitanya, 2009/12/23
Re: Fix for grub_assert_fail undefined on NetBSD and other platforms,
Robert Millan <=