Alpha GCC 3.0
Tom Holroyd
tomh at po.crl.go.jp
Mon Aug 27 09:54:01 CEST 2001
Just trying to get this working on Alpha -- there are several syntax
errors; the first two are easy:
--- #gnutls_num.h Fri Jul 20 16:21:52 2001
+++ gnutls_num.h Mon Aug 27 16:22:15 2001
@@ -47,7 +47,7 @@
# define rotr64(x,n) (((x) >> ((uint16)(n))) | ((x) << (64 - (uint16)(n))))
# define byteswap64(x) ((rotl64(x, 8) & 0x00ff00ff00ff00ffUL) | (rotr64(x, 8) & 0xff00ff00ff00ff00UL))
-# define uint64pp(x) ((++(*x)==0) ? -1 : 0);
+# define uint64pp(x) ((++(*x)==0) ? -1 : 0)
# define uint64zero(x) (*x) = 0
#endif
--- #gnutls_int.h Tue Aug 21 16:30:05 2001
+++ gnutls_int.h Mon Aug 27 16:23:41 2001
@@ -397,7 +397,7 @@
GNUTLS_Version gnutls_get_current_version(GNUTLS_STATE state);
ssize_t gnutls_send_int(SOCKET cd, GNUTLS_STATE state, ContentType type, HandshakeType htype, const void* data, size_t sizeofdata, int flags);
ssize_t gnutls_recv_int(SOCKET cd, GNUTLS_STATE state, ContentType type, HandshakeType, char* data, size_t sizeofdata, int flags);
-int _gnutls_send_change_cipher_spec(SOCKET cd, GNUTLS_STATE state);
+ssize_t _gnutls_send_change_cipher_spec(SOCKET cd, GNUTLS_STATE state);
/* These macros return the advertized TLS version of
* the peer.
But the last one I haven't had time to look at so I'll just dump it here:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -O2 -c cli.c
cli.c: In function `main':
cli.c:215: `SHUT_WR' undeclared (first use in this function)
cli.c:215: (Each undeclared identifier is reported only once
cli.c:215: for each function it appears in.)
cli.c:334: `SHUT_RDWR' undeclared (first use in this function)
Dr. Tom Holroyd
"I am, as I said, inspired by the biological phenomena in which
chemical forces are used in repetitious fashion to produce all
kinds of weird effects (one of which is the author)."
-- Richard Feynman, _There's Plenty of Room at the Bottom_
More information about the Gnutls-devel
mailing list