[Bug c++/117422] Error: template parameter was not declared in this scope

2025-04-14 Thread nerd.cpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 --- Comment #7 from Jesse Williamson --- Revisiting this, I don't think it's a bug-- but perhaps a more specific error message could have saved some confusion. See update: https://godbolt.org/z/sePdf4bvv ...adding scope resolution to the frie

[Bug c++/117422] Error: template parameter was not declared in this scope

2025-03-29 Thread jesse at mind dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 Jesse Williamson changed: What|Removed |Added CC||jesse at mind dot net --- Comment #6

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 --- Comment #5 from Andrew Pinski --- (In reply to eczbek.void from comment #4) > Wow, very strange. Thanks for the workaround. Most likely what is happening is the 2 decls are merged early and then the template argument from the other decl is

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 --- Comment #4 from eczbek.void at gmail dot com --- Wow, very strange. Thanks for the workaround.

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 --- Comment #3 from Andrew Pinski --- Looks very similar to the issue of PR 100037 too.

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid --- Comment #2 from And

[Bug c++/117422] Error: template parameter was not declared in this scope

2024-11-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117422 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-11-03 Known to fail|