httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject RE: ap_cleanup_fn_t
Date Tue, 04 Apr 2000 13:19:24 GMT
> > (See the Windows dll linkage warnings on ap_opt* variables in
> > APR. It's just blind luck it works at all the way it is)
> Actually, it isn't :~)
> Since it's both export and import, the linker resolves to export
> for APR, since it can't be both.  Of course, this raises 8 errors
> (the months and days as well).  On the client side, it strictly
> sees the import (the export side buried in the .c declarations).
> So - it works.  But anyone using those variables within the APR
> dll itself resolves themselves through their very own module's
> fixup table (talk about roundabout!)

Did I say Linker?  The compiler resolves that discrepancy.  That's
why it works.

View raw message