https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65513 --- Comment #1 from Peter VARGA <development@faf-ltd.com> --- One of these following steps do not produce any error message and the compiler can finish successfully: 1) Add {} to the sDateTime member 2) Remove the std::atomic member