[Libssh] [PATCH] more generic makefile
Aris Adamantiadis
aris at 0xbadc0de.be
Thu Feb 28 00:03:09 CET 2008
Rodolphe Rocca a écrit :
> Hello,
>
> packed structures are not supported by all compilers and especially not
> by Sun/Forte12.
>
> Please find an attached patch that removes this attribute.
Hello,
I haven't tested it, but i'm quite sure it won't work on gcc/amd64. Gcc
has the right to allocate 64 bits for the u32. It won't lead to memory
corruption but the protocol won't work.
I'll test it. If it doesn't work either on amd64 and sparc64, i'll get
autoconf to detect the compiler capability to do attributes, else I'll
apply your patch.
More information about the Libssh
mailing list