Another AIX build problem
Werner Koch
wk at gnupg.org
Fri Nov 19 08:44:25 CET 1999
Jos Backus <Jos.Backus at nl.origin-it.com> writes:
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -c pkclist.c
> "pkclist.c", line 380.31: 1506-280 (W) Function argument assignment between type
> s "unsigned int*" and "int*" is not allowed.
All these IBM compilers are very picky about some things. I remember
that I had a hard time when I used the new C compiler for OS/2.
However there is an option (and a pragma) to stop these warnings.
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -g -c tdbdump.c
> "tdbdump.c", line 479.30: 1506-076 (W) Character constant 'p[0]' has more than o
> ne character. No more than rightmost 4 characters are used.
> "tdbdump.c", line 479.52: 1506-076 (W) Character constant 'p[1]' has more than o
> ne character. No more than rightmost 4 characters are used.
>
> Hm, it seems cc doesn't like HEXTOBIN:
>
> line[fprlen++] = HEXTOBIN(p[0]) * 16 + HEXTOBIN(p[1]);
#define HEXTOBIN(a) ( (a) >= '0' && (a) <= '9' ? ((a)-'0') : \
(a) >= 'A' && (a) <= 'F' ? ((a)-'A'+10) : ((a)-'a'+10))
What's wrong with this macro?
> -Wl,-export-dynamic is wrong?
Remove it - it is only needed for dlopened modules (simply cut an
paste the command to the cmdline)
--
Werner Koch at guug.de www.gnupg.org keyid 621CC013
More information about the Gnupg-devel
mailing list