[Issue 8723] Error: function called with argument types:

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 13:09:41 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8723



--- Comment #5 from Jonathan M Davis <jmdavisProg at 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
wouldn't even _exist_. They're an artifact of C's poor compilation model.

Unfortunately, they're necessary for .di files, so we have them, but there's no
reason whatsoever to be declaring a prototype in a .d file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list