https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67515
--- Comment #11 from Yury V. Zaytsev <yury.zaytsev at traveltainment dot de> --- Hi Roger, Thank you for the hint! I've tried the solution from the linked ticket, but I'm still getting the same problem, albeit at a different place in the code (not sure why?!). In addition I'm still struggling with undefined behaviors in other parts of boost, like this one: https://svn.boost.org/trac/boost/ticket/11204 ... for now I'll try to remove the use of boost::lexical_cast where possible :-/ Thanks!