gnutls-devel
[Top][All Lists]
Advanced

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

Re: [gnutls-dev] Gnutls for windows with microsoft compiler


From: Simon Josefsson
Subject: Re: [gnutls-dev] Gnutls for windows with microsoft compiler
Date: Mon, 21 May 2007 18:36:34 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.95 (gnu/linux)

Christian Häne <address@hidden> writes:

> Hello
>
> I'm trying to compile a program which includes gnutls.h under windows with 
> microsoft C/C++ Compiler. But there are some errors in the gnutls.h file and 
> I can't figure out the problem. This is the output I get:
>
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> secure_net.c
> E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(411) : error C2061: syntax error : 
> ident
> ifier 'gnutls_record_send'

You need to define 'ssize_t' somehow.  For example, build using
'./configure CFLAGS=-Dssize_t=long'.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]