port of bc and dc

Florian Bruhin florianbruh at gmail.com
Sat Feb 21 18:06:10 CET 2009


2009/2/21 Ewan Meadows <ewan.meadows at gmail.com>:
> What are the errors?
Only some warnings:

number.c: In function 'bc_new_num':
number.c:76: warning: implicit declaration of function 'memset'
number.c: In function '_one_mult':
number.c:905: warning: implicit declaration of function 'memcpy'
number.c: In function 'bc_out_long':
number.c:1442: warning: implicit declaration of function 'strlen'

scan.l: In function 'yylex':
scan.l:319: warning: pointer targets in assignment differ in signedness
scan.l:335: warning: pointer targets in assignment differ in signedness
scan.l:336: warning: pointer targets in assignment differ in signedness
scan.l: At top level:
lex.yy.c:1706: warning: 'yyunput' defined but not used

load.c: In function 'load_code':
load.c:159: warning: 'save_adr.pc_addr' may be used uninitialized in
this function
load.c:159: warning: 'save_adr.pc_func' may be used uninitialized in
this function

> I haven't had a chance to look at them yet, but if they work I see no
> problem including them.  Linux is all about choice, right?

Yeah :) Should I also include them in the source tree as mentioned in
the PortingHowto and create patches?

Florian

-- 
()  ascii ribbon campaign - against html e-mail
/\
http://www.georgedillon.com/web/html_email_is_evil.shtml


More information about the dslinux-devel mailing list