On Mon, Apr 18, 2011 at 11:02 AM, Richard Shaw <hobbes1069(a)gmail.com> wrote:
On Sun, Apr 17, 2011 at 11:01 PM, Kevin Kofler
<kevin.kofler(a)chello.at> wrote:
> Richard Shaw wrote:
>> Thanks for the help guys but the maintainer got back to me with a
>> patch that seems to have worked.
>
> If you mean:
>
http://fixounet.free.fr/2.6/gcc46_temporary.patch
> that patch doesn't look right to me. It fixes the complaints from GCC 4.6
> (by copying the temporary to an actual variable), but it doesn't really fix
> the underlying issue. There's no reason why selectConfiguration is taking a
> QString * rather than just a QString, and the use of that QString * inside
> selectConfiguration is invalid, as I explained in my previous mail.
To add to this, I found the following Gentoo bug report but if I
understand you correctly, these also just mask the problem from the
compiler instead of fixing them.
http://bugs.gentoo.org/show_bug.cgi?id=364009
Thanks,
Richard