httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: Solaris 2.4 warnings/error
Date Thu, 13 Jun 1996 21:20:57 GMT
  > Eeek.  Time to create a lot of prototypes?

  Yeah. I can do this later, and I'll just leave a note that mod_auth_db
  wasn't in the compile mix.

Careful to put them in system-specific #ifdefs, if you do viz. discussion
from a long while ago now on the evils of prototyping library functions;
doign this gets particularly nasty when you try to deal with systems on 
which the locals have installed something like GNU libc --- whose header
files have prototypes for everything --- to get around the deficiencies
of a vendor library whose header files don't.  SunOS was the hobbyhorse
the last time around, as I recall...

(The existing code has one massive block of system-specific prototypes
for library functions --- for SunOS, in fact --- but you have to include
a specific -DSUNOS_LIB_PROTOTYPES in your Configuration to get them 
precisely because they broke the server for people who were installing
Apache on systems with GNU libc).

rst

Mime
View raw message