[OpenBIOS] Removing warnings

Laurent Vivier laurent at lvivier.info
Sun Jan 11 15:05:28 CET 2009


Le 11 janv. 09 à 15:02, Laurent Vivier a écrit :

>
> Le 11 janv. 09 à 14:40, Blue Swirl a écrit :
>
>> On 1/11/09, Laurent Vivier <laurent at lvivier.info> wrote:
>>> Hi,
>>>
>>> I don't like to have warnings in build.log, but sometime I don't  
>>> remember
>>> to check the logs.
>>>
>>> I'm wondering if it is acceptable to add "-Werror" in CCFLAGS ?
>>
>> There are still some strange warnings on amd64 build:
>>
>> kernel/bootstrap.c: In function 'segv_handler':
>> kernel/bootstrap.c:799: warning: format '%llx' expects type 'long  
>> long
>> unsigned int', but argument 4 has type 'cell'
>> kernel/bootstrap.c:799: warning: format '%llx' expects type 'long  
>> long
>> unsigned int', but argument 5 has type 'ucell'
>> kernel/bootstrap.c:799: warning: format '%llx' expects type 'long  
>> long
>> unsigned int', but argument 6 has type 'long unsigned int'
>> kernel/bootstrap.c:801: warning: format '%llx' expects type 'long  
>> long
>> unsigned int', but argument 4 has type 'ucell'
>> kernel/bootstrap.c: In function 'exception':
>> kernel/bootstrap.c:839: warning: format '%lld' expects type 'long  
>> long
>> int', but argument 2 has type 'cell'
>>
>> kernel/dict.c: In function 'dump_header':
>> kernel/dict.c:122: warning: format '%0llx' expects type 'long long
>> unsigned int', but argument 2 has type 'ucell'
>>
>> kernel/stack.c: In function 'printdstack':
>> kernel/stack.c:28: warning: format '%llx' expects type 'long long
>> unsigned int', but argument 2 has type 'long int'
>>
>> kernel/stack.c: In function 'printrstack':
>> kernel/stack.c:39: warning: format '%llx' expects type 'long long
>> unsigned int', but argument 2 has type 'long int'
>>
>> kernel/dict.c: In function 'dump_header':
>> kernel/dict.c:122: warning: format '%0llx' expects type 'long long
>> unsigned int', but argument 2 has type 'ucell'
>>
>
> I don't have this (debian etch amd64). Perhaps your host headers   
> are corrupted ?

In fact, I have: I was looking into wrong logs.

Laurent
-------------------- laurent at lvivier.info --------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard




More information about the OpenBIOS mailing list