Hi all,
I am using the same compiler for both.
I traced the code of mod_ruby.c and saw the fix that they had done, and
doing the
same casting removed the warnings. I guess this happened because of the
change in the macro between 2.0 and 2.2.
Casted the second argument like this.
AP_INIT_TAKE1("
On Thu, 19 Mar 2009 17:02:32 -0400
Ryan Deemer wrote:
> Hi all,
>
> I am porting my custom module from apache 2.0 module to 2.2.11 using
> gcc-3.4.6 and get the following warning in the usage of
> AP_INIT_TAKE1.
>
> mod_reversal.c:786: warning: initialization from incompatible pointer
> type
On Fri, Mar 20, 2009 at 2:04 PM, Ryan Deemer wrote:
> Hi guys,
>
> Anybody come across this before?
dunno
are you sure the types of the arguments to AP_INIT_TAKEx are correct?
If you build httpd yourself, did the compilation of the bundled modules spew
the same warnings?
(Or try building a f
Hi guys,
Anybody come across this before?
Thanks
Ryan.
On Thu, Mar 19, 2009 at 5:02 PM, Ryan Deemer wrote:
Hi all,
I am porting my custom module from apache 2.0 module to 2.2.11 using
gcc-3.4.6 and get the following warning in the usage of AP_INIT_TAKE1.
mod_reversal.c:786: warning: initiali
Hi all,
I am porting my custom module from apache 2.0 module to 2.2.11 using
gcc-3.4.6 and get the following warning in the usage of AP_INIT_TAKE1.
mod_reversal.c:786: warning: initialization from incompatible pointer type
I see that it is discussed previously, but I couldnt find any specific
s