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

Bug#746999: Conflicting parameter types of function G311_multiSequenceFunc



Package: canna
Version: 3.7p3-12
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
gcc -o ./libcanna.so.1.2~ -shared -Wl,-z,relro -Wl,-soname,libcanna.so.1 jrbind.o ebind.o lisp.o defaultmap.o bushu.o chikuji.o commondata.o empty.o henkan.o hex.o ichiran.o jishu.o kctrl.o keydef.o kigo.o mode.o multi.o onoff.o parse.o romaji.o uiutil.o uldefine.o uldelete.o ulhinshi.o ulkigo.o ulmount.o ulserver.o util.o yesno.o bunsetsu.o engine.o RKroma.o RKkana.o obind.o rkc.o convert.o wconvert.o wutil.o conf.o cfuncs.o file.o strops.o -lc

error: conflicting function declarations "G311_multiSequenceFunc"
old definition in module keydef file keydef.c line 40
signed int (struct _uiContext *, struct _kanjiMode *, signed int, signed int, signed int)
new definition in module multi file multi.c line 248
signed int (struct _uiContext *d, struct _kanjiMode *mode, signed int whattodo, unsigned int key, signed int fnum)

Observe that the fourth argument (key) differs in signedness, which may cause
problems for negative/large unsigned values.

Best,
Michael

Attachment: pgpRVZM5_O9kB.pgp
Description: PGP signature


Reply to: