[Bug c++/59509] template function definition. redefinition error

2021-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59509 --- Comment #3 from Andrew Pinski --- I should say this is fixed in GCC 9.4 and 10+.

[Bug c++/59509] template function definition. redefinition error

2021-07-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59509 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.4 Resolution|---

[Bug c++/59509] template function definition. redefinition error

2013-12-14 Thread ich at az2000 dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59509 --- Comment #1 from Albert Zeyer --- Sorry, that was the error from my real app. From the test case, the error is: test_prodtempl.cpp:24:6: error: redefinition of 'template decltype (prod(a, b)) operator*(const T1&, const T2&)' auto operator*(co