CRYPT32: iod.c compile problem (gcc 2.95)

Vitaly Lipatov lav at etersoft.ru
Mon Feb 27 10:15:40 CST 2006


I try compile last version with gcc 2.95 and get it failed:
$ make
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_CRYPT32_ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith  
-O2 -march=i586  -o oid.o oid.c
oid.c: In function `init_oid_info':
oid.c:940: structure has no member named `Algid'
oid.c:969: structure has no member named `Algid'
oid.c: In function `CryptFindOIDInfo':
oid.c:1037: structure has no member named `Algid'
oid.c:1089: structure has no member named `Algid'
oid.c: In function `CertOIDToAlgId':
oid.c:1126: structure has no member named `Algid'

There is unnamed union, and such construction does no recognized old the 
compiler. What the best way to fix it?

-- 
Vitaly Lipatov, ALT Linux Team
Russia, Saint-Petersburg, www.etersoft.ru



More information about the wine-devel mailing list