httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: eek. exports.c (was: Re: cvs commit: ...)
Date Fri, 17 Nov 2000 14:41:18 GMT

> This isn't right. Now a user of APR will be able to link when a function
> isn't supposed to be available. Before, we could die with a compile-time
> error (missing prototype) or a link-time error (missing function). But
> now... the user won't know a problem exists until runtime.
> 
> Why don't we just have exports.c define the functions (in the appropriate
> #if stuff) if they don't exist? No reason to put them into APR.

Because exports is a generated file, and trying to figure out which APR
functions are optional and which aren't is ugly.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message