[gnupg-0.2.17] SunOS 4.1.4 + gcc 2.7.2.2: a few portability glitches
Werner Koch
wk at isil.d.shuttle.de
Thu May 7 20:41:19 CEST 1998
Charles Levert <charles at comm.polymtl.ca> writes:
> Here are excerpts from the make output:
>
> ttyio.c:96: warning: implicit declaration of function `strerror'
> ttyio.c:96: warning: format argument is not a pointer (arg 2)
> ...
> mpicoder.c:310: warning: implicit declaration of function `memmove'
Okay, I'll fix this.
> SunOS also doesn't have memmove, but it does have bcopy.
I have no SunOS here, so I'll will fix this blind and hope you
can compile the next release.
> BIG_ENDIAN_HOST is defined on Sun and also byte == unsigned char and
> u64 == unsigned long long. But ((byte) << n), where n >= 8, is zero.
> The problem is that byte is not typecast to u64 before it is shifted.
I know this from m68k-linux. I already fixed it here. I usually do
test only on a 486, 586 and Alpha with Linux (from time to time with
FreeBSD or Hurd)
> (The solution to this problem is intentionaly left out. :-)
:-)
Werner
More information about the Gnupg-devel
mailing list