httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Zobel <jzo...@heute-morgen.de>
Subject Obscure warning compiling a module on amd64 with gcc
Date Fri, 18 Sep 2009 16:21:04 GMT
Hi.

I get the following warning compiling my module on linux/amd64 for
Apache/2.2.9 with apxs:

..
  int test =  ap_get_request_note(r, AP_NOTE_DELAY) ;
  void **pp_delay =  ap_get_request_note(r, AP_NOTE_DELAY) ;
..

mod_delay.c:66: warning: initialization makes pointer from integer
without a cast

This complains about the second line although the apache headers say the
function returns a void **:

/usr/include/apache2/http_core.h:AP_DECLARE(void **)
ap_get_request_note(request_rec *r, apr_size_t note_num);

Any ideas what is happening there?

Sincerely,
Joachim



Mime
View raw message