CRYPT32: iod.c compile problem (gcc 2.95)
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
Like this. ChangeLog: correct compile problem on gcc 2.95. --Juan --- Vitaly Lipatov <lav(a)etersoft.ru> wrote:
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
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (2)
-
Juan Lang -
Vitaly Lipatov