Rainer Dorsch wrote: > Hello, > > I tried to compile 1.6.10 on Debian wheezy and got > > CXX InsetInclude.lo > insets/InsetInclude.cpp: In member function ???const > lyx::support::FileNameList& > lyx::InsetInclude::getBibfilesCache(const lyx::Buffer&) const???: > insets/InsetInclude.cpp:809:37: error: uninitialized const ???empty??? [- > fpermissive] > ./support/FileNameList.h:27:7: note: ???const class > lyx::support::FileNameList??? > has no user-provided default constructor > make[4]: *** [InsetInclude.lo] > > Maybe that statement holds for all systems shipping gcc 4.6.1 (?) > > rd@blackbox:~/SW.nobackup/lyx-1.6.10$ g++ -v > Using built-in specs. > COLLECT_GCC=g++ > COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.6.1/lto-wrapper > Target: i486-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.0-10' > --with- > bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable- > languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 -- > enable-shared --enable-multiarch --with-multiarch-defaults=i386-linux-gnu -- > enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without- > included-gettext --enable-threads=posix --with-gxx-include- > dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --enable-clocale=gnu > --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable- > objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable- > checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486- > linux-gnu > Thread model: posix > gcc version 4.6.1 20110526 (prerelease) (Debian 4.6.0-10) > rd@blackbox:~/SW.nobackup/lyx-1.6.10$ > > Hint what could fix the problem are highly appreciated .... :-)
too new gcc, yes. fix is in svn 1.6 branch, see r38800, r38798. pavel