[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2025-07-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 --- Comment #6 from Jonathan Wakely --- Bug 110930 is the one for cstdint for ::int32_t

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2025-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 --- Comment #5 from Sam James --- No, I was mistaken and misread. (There is another bug for the namespace issue though.)

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2025-07-30 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #4 fr

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2025-07-30 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2023-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 --- Comment #2 from Jonathan Wakely --- Here's another example: #include int i = numeric_limits::digits10; lim.cc:2:9: error: 'numeric_limits' was not declared in this scope; did you mean 'std::numeric_limits'? 2 | int i = numeric_limits:

[Bug c++/102775] Error recovery in the C++ parser should use fix-it hints

2021-10-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102775 --- Comment #1 from Jonathan Wakely --- P.S. this would have to done on a case-by-case basis, i.e. for each fix-it that the compiler currently supports, decide how confident we are in that being correct most of the time, and decide whether to us