[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: |
BVK Chaitanya |
Subject: |
Re: Fix for grub_assert_fail undefined on NetBSD and other platforms |
Date: |
Wed, 23 Dec 2009 11:31:59 +0530 |
2009/12/22 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
>> ./include/grub/list.h:44: warning: 'error' attribute directive ignored
> This situation is acceptable. In unlikely case that cast is indeed bad
> you will get runtime error instead of compile error. But it would be a
> benefit if abort message would de improved by defining intermidiate
> macro while will pass __LINE__ and __FILE__ to bad_cast_real which will
> use it to tell developper where there is a problem
Attached patch has __LINE__ and __FILE__ tags added.
I ran indent on modified headers (list.h, handler.h) so patch has few
coding style changes extra.
--
bvk.chaitanya
grub-assert-fail.patch3.txt
Description: Text document
Re: Fix for grub_assert_fail undefined on NetBSD and other platforms, Robert Millan, 2009/12/24