On 04/12/2012 04:00 PM, David C. Rankin wrote: > On 04/12/2012 02:56 PM, Darrell Anderson wrote: >> Looks like gcc 4.7 will require some major code cleanup. However, today I ran across this response in a forum discussion: >> >> https://www.linuxquestions.org/questions/slackware-14/zoneminder-1-25-0-wont-build-in-slackware64-current-939357/#post4650610 >> Perhaps some of the 4.7 problems will be resolved by manually adding unistd.h in the preprocessor includes. >> >> This document explains the changes in gcc 4.7: >> >> http://gcc.gnu.org/gcc-4.7/changes.html >> >> Somebody more experienced with compilers could help by translating that information into a wiki how-to of what types of failures to expect, what types of cures will help, and when those cures need to be explicitly defined in the build process. >> >> Darrell > > Good stuff - that's what several of my patches did. I'm no wizard at adjusting > what happens after pushing the g++ 'x' button, but hopefully there is a good > rabbit trail in the links... > This also shows a lot of promise for help: http://gcc.gnu.org/gcc-4.7/porting_to.html -- David C. Rankin, J.D.,P.E.