Ken Moffat wrote:
>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.
>

Thanks Ken. I removed -Werror from several Makefiles and successfully
built Qt with GCC4.7. It seems you were right that GCC 4.7 warns on more 
potential 
errors than GCC 4.6. I guess the real question is, if the ignored warnings 
represent 
genuine problems in the code. I am no programmer, so I have no clue. Qt seems 
to be 
working fine. I will be building KDE4 in the next few days to test it properly.

-Ragnar-
                                          
-- 
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