http://d.puremagic.com/issues/show_bug.cgi?id=8723
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #3 from Maxim Fomin ma...@maxim-fomin.ru 2012-09-25 11:37:57 PDT
---
By the way, following code is not compiled either (for the same reason):
struct S;
struct S {}
void main()
{
}
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #2 from Maxim Fomin ma...@maxim-fomin.ru 2012-09-25 11:35:45 PDT
---
(In reply to comment #1)
Why is that clearly a bug? You gave two functions with identical function
signatures. The only time that you give function prototypes
http://d.puremagic.com/issues/show_bug.cgi?id=8723
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-25 13:10:26
PDT ---
And why on earth would you _need_ a prototype? This isn't C. We're not forced
to declare functions higher up in a file before using them. Ideally, prototypes
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Maxim Fomin ma...@maxim-fomin.ru changed:
What|Removed |Added
Severity|normal |enhancement
--