On Mon, Apr 02, 2012 at 07:48:48PM +0200, Ragnar Thomsen wrote:
> 
> 
> Below is output from the error. Can anyone tell me what is causing this build 
> failure?
> 
> ../JavaScriptCore/wtf/RefCounted.h:141:13: error: deleting object of 
> polymorphic class type 'WebCore::Frame' which has non-virtual destructor 
> might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
> cc1plus: all warnings being treated as errors

 Looks as if gcc warns on more possible errors with each newer
version.  Try searching for where -Werror is invoked, possibly
something like
 find -name 'Makefile*' | xargs grep Werror
and then use sed on each file (e.g. sed 's/-Werror //.  Probably
easiest to run find after running configure.  I'm not very
experienced with the current qt configure system, it's possible
that -Werror might be defined elsewhere, e.g. in .mak files.

 Alternatively, if you know of any distro using gcc-4.7 and kde,
check how they build!

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to