------- Comment #6 from shawn dot starr at rogers dot com 2009-09-10 17:44 ------- I can reproduce this compiling Second Life from trunk cc1plus: warnings being treated as errors /home/spstarr/Downloads/viewer-trunk/indra/llcommon/lldarray.h: In destructor ‘LLFrameStats::~LLFrameStats()’: /home/spstarr/Downloads/viewer-trunk/indra/llcommon/lldarray.h:60: error: ‘’ is used uninitialized in this function /home/spstarr/Downloads/viewer-trunk/indra/llcommon/lldarray.h:60: note: ‘’ was declared here make[2]: *** [newview/CMakeFiles/secondlife-bin.dir/llframestats.o] Error 1 In this case, the type being passed in is a class. Given: Where FrameData is a private class inside LLFramestats LLDynamicArray mFrameData; Where LLDynamicArray is: // class LLDynamicArray<>; // = std::vector + reserves elements template class LLDynamicArray : public std::vector Offending code: Method inside template class: void reset() { std::vector::resize(0); } Type == FrameData. If you checkout the code from Second Life trunk you will trigger this easily. You will need other patches since they have other GCC 4.4 compile issues (minor that I have fixed locally) SVN is: http://svn.secondlife.com/svn/linden/trunk/ -- shawn dot starr at rogers dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shawn dot starr at rogers | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40146