RE: [squid-users] Error compiling squid 3.0 stable4

From: Mike Marchywka <marchywka_at_hotmail.com>
Date: Thu, 25 Feb 2010 06:55:27 -0500

----------------------------------------
> Date: Thu, 25 Feb 2010 11:38:52 +0530
> From: senthilkumaar2021_at_gmail.com
> To: squid-users_at_squid-cache.org
> Subject: [squid-users] Error compiling squid 3.0 stable4
>
> Hi All,
>
> When i compile squid 3.0 stable 4 i getting the following error
>
> logfile.cc: In function ‘Logfile* logfileOpen(const char*, size_t, int)’:
> logfile.cc:105: error: invalid conversion from ‘const char*’ to ‘char*’
> logfile.cc:108: error: invalid conversion from ‘const char*’ to ‘char*’
> make[3]: *** [logfile.o] Error 1
> make[3]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/senthil/Downloads/squid-3.0.STABLE9/src'
> make: *** [all-recursive] Error 1
>

Can you post code from this file and build options? As someone who casts away const from
time to time, LOL, there are ways you may be able to satisfy the compiler
but question would  be how the code got checked in and called stable.
Sometimes there is confusion over const ptr and const target but I'm
still not sure how it would matter.

> I am using fedora 12
> Help me in solving the error
> Thankyou
>
> Regards
> senthil
                                               
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/
Received on Thu Feb 25 2010 - 11:55:34 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 26 2010 - 12:00:11 MST