[gnutls-dev] Gnutls for windows with microsoft compiler
Christian Häne
christian.haene at gmx.ch
Mon May 21 10:34:56 CEST 2007
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'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(411) : error C2059: syntax error : ';'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(411) : error C2059: syntax
error : 'type
'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(412) : error C2061: syntax error :
ident
ifier 'gnutls_record_recv'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(412) : error C2059: syntax error : ';'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(412) : error C2059: syntax
error : 'type
'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(419) : error C2061: syntax error :
ident
ifier 'gnutls_record_set_max_size'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(419) : error C2059: syntax error : ';'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(419) : error C2059: syntax
error : 'type
'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(791) : error C2143: syntax error :
missi
ng '{' before '*'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(792) : error C2143: syntax error :
missi
ng ')' before '*'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(792) : error C2143: syntax error :
missi
ng '{' before '*'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(792) : error C2059: syntax error : ')'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(808) : error C2146: syntax error :
missi
ng ')' before identifier 'push_func'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(808) : error
C2081: 'gnutls_push_func' :
name in formal parameter list illegal
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(808) : error C2061: syntax error :
ident
ifier 'push_func'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(808) : error C2059: syntax error : ';'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(808) : error C2059: syntax error : ')'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(810) : error C2146: syntax error :
missi
ng ')' before identifier 'pull_func'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(810) : error
C2081: 'gnutls_pull_func' :
name in formal parameter list illegal
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(810) : error C2061: syntax error :
ident
ifier 'pull_func'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(810) : error C2059: syntax error : ';'
E:\GnuTLS-1.7.8\include\gnutls/gnutls.h(810) : error C2059: syntax error : ')'
More information about the Gnutls-devel
mailing list