httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: auto configuration and full function prototypes
Date Wed, 26 Apr 2000 13:58:47 GMT
Greg Ames had the idea that I could first do a test to see if
prototypes are broken, and if prototypes are broken then don't do any
tests which depend on good prototypes.

test for broken prototypes (and/or some compiler setting that allows
the compile to succeed when an incorrect argument list is provided):

  #include <string.h>

  void main(void)
    char buf[1];


If it compiles, set ARG_CHECKING_IS_BROKEN.

In subsequent tests that don't work properly with broken system
prototypes, make sure the compile will work when

Jeff Trawick | | PGP public key at web site:
          Born in Roswell... married an alien...

View raw message