15 May
2009
15 May
'09
5:50 p.m.
On Thu, May 14, 2009 at 11:59:45PM +0200, Johannes Hofmann wrote:
Hi Tim,
On Thu, May 14, 2009 at 08:55:25PM +0000, Tim Nieradzik wrote:
Dillo does not compile with GCC v4.4.0. A patch is attached.
Cool. Thanks for the patch! One thing I don't see immediately is why a_Html_get_attr() must be changed to return char* instead of const char*. I would prefer to fix the callers of a_Html_get_attr() instead.
I Agree. Tim: can you provide access to a machine with gcc-4.4 to give this problem a hands-on try. If not, please try to get to a solution that keeps Html_get_attr2() const and that avoids C++ const_casts by declaring const char* locals. -- Cheers Jorge.-