I've analysed this further and the cause seems to be that it bcc 5.5
complains about taking the address of a structure that doesn't have a
complete definition.

For example the following wont compile:

typedef struct FOO_st FOO;

extern FOO bar;

FOO *pbar;

pbar = &bar;

but it has no problems on other compilers.

There are several possible workarounds for this. One is to include the
complete definition whenever &some_item is used, another is to change
things so some_item is of type ASN1_ITEM * instead of ASN1_ITEM.

However the easiest is to use the same options as VC++ which has an
unrelated problem with initializing structures containing pointers to
structures in DLLs.

If you add EXPORT_VAR_AS_FN in the BCC-32 entry in Configure as in the
VC-WIN32 entry it seems to compile OK and passes all the tests.

I'll check in this fix soon.

Steve.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to