[Bug c++/61472] added default-argument in later declaration of function template not caught

2017-10-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- (Please set the version field to make it clear you're not reporting bugs against GCC 4.4 or something ancient and unmaintained) This is very likely to be the same issue as PR 61471

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread filip.roseen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 --- Comment #2 from Filip Roséen filip.roseen at gmail dot com --- Sorry Jonathan, I completely forgot, I'll add the version to this (and those other newly posted bug reports where it is missing).

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- As with PR 61471 we diagnose this if the template is instantiated

[Bug c++/61472] added default-argument in later declaration of function template not caught

2014-06-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org --- I messed up my test for this too - we only diagnose it if you try to use the default argument, so it seems to be ignored on the redeclaration.