[Bug c++/79741] errors about struct members being of type size_t when it's not, other strange errors. cached source too.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 03:39:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list