[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#737459: g++-4.7 [wheezy] may cause link failure when using lambda functions



Package: g++-4.7
Version: 4.7.2-5
Tags: fixed-upstream, wheezy

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55015

I just hit this one today when building Unvanquished in a wheezy chroot.
We've worked around it by enclosing the ‘offending’ class in an anonymous
namespace.

/tmp/buildd/unvanquished-0.24.0/src/engine/framework/FileSystem.cpp:905:
undefined reference to `FS::ZipArchive::Open(Str::BasicStringRef<char>,
std::error_code&)::{lambda(void*, void const*, int)#1}::_FUN(void*, void
const*, int)'

-- 
|  _  | Darren Salt, using Debian GNU/Linux (and Android)
| ( ) |
|  X  | ASCII Ribbon campaign against HTML e-mail
| / \ | http://www.asciiribbon.org/


Reply to: