httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: httpd-2.0/build buildexports.awk
Date Tue, 12 Dec 2000 15:00:35 GMT
trawick     00/12/12 07:00:34

  Modified:    build    buildexports.awk
  Log:
  Add "(const void *)" back to the hack variable assignments to avoid
  warnings like this on Tru64 (and perhaps other platforms):
  
  cc: Warning: exports.c, line 349: In the initializer for
  ap_hack_apr_dbm_nextkey, the referenced type of the pointer value
  "apr_dbm_nextkey" is "function (pointer to struct apr_dbm_t, pointer
  to struct declared without a tag) returning int", which is not
  compatible with "const void". (ptrmismatch)
  const void *ap_hack_apr_dbm_nextkey = apr_dbm_nextkey;
  --------------------------------------^
  
  Revision  Changes    Path
  1.4       +1 -1      httpd-2.0/build/buildexports.awk
  
  Index: buildexports.awk
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/buildexports.awk,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- buildexports.awk	2000/12/07 10:54:15	1.3
  +++ buildexports.awk	2000/12/12 15:00:33	1.4
  @@ -1,3 +1,3 @@
   /^APR_/     { print "#if", $1 }
  -/^\t*apr?_/ { print "const void *ap_hack_" $1 " = " $1 ";" }
  +/^\t*apr?_/ { print "const void *ap_hack_" $1 " = (const void *)" $1 ";" }
   /^\/APR_/   { print "#endif /*", substr($1,2), "*/" }
  
  
  

Mime
View raw message