https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79741
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jim Michaels from comment #0) > strange. a compiler should not cache the source code. It doesn't. > all these bugs I have > fixed with static casts and the same errors are still reported. Then you didn't fix all the bugs! > source code > not necessary. Wrong. > atoi64.cpp:265:12: error: 'egrep' is not a member of > 'std::regex_constants::syntax_option_type' > RGXC ropts=std::regex_constants::syntax_option_type::egrep; This should be std::regex_constants::egrep "I don't know how to fix my code" is not a GCC bug.