[Bug c++/66606] missing diagnostic on using function main

2021-08-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66606 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-08-19 00:00:00 |2021-8-5 --- Comment #2 from Andrew Pins

[Bug c++/66606] missing diagnostic on using function main

2015-08-19 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66606 Ville Voutilainen changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/66606] missing diagnostic on using function main

2015-06-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66606 --- Comment #1 from Martin Sebor --- One other observation (and actually the reason why I found this problem) is that the diagnostic GCC issues for the call to main in bar: int bar () { return main (); } is misleading. The operand of the retur