← Back to team overview

touch-packages team mailing list archive

[Bug 1475623] Re: zeitgeist ftbfs with GCC 5

 

I think the issue is the std::string object is going out of scope in the
tests. The tests are like this:

g_assert_cmpstr (std::string ("scheme_no_spaces_in_uris"), ==,
StringUtils::MangleUri("scheme:no spaces in uris").c_str ());

Inside the g_assert_cmpstr macro the two strings are stored in
variables. Nothing is left holding the result of MangleUri () so the
result from c_str () is no longer valid. I guess GCC 5.1 is more
agressive in destroying the std:string than it used to be?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to zeitgeist in Ubuntu.
https://bugs.launchpad.net/bugs/1475623

Title:
  zeitgeist ftbfs with GCC 5

Status in zeitgeist package in Ubuntu:
  In Progress

Bug description:
  see
  https://launchpadlibrarian.net/211752996/buildlog_ubuntu-wily-amd64.zeitgeist_0.9.14-2.2ubuntu6~gcc5.1_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zeitgeist/+bug/1475623/+subscriptions


References