<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel Dunbar wrote:
<blockquote
 cite="mid:6a8523d60911041241t39fbbc2dl6138541762280062@mail.gmail.com"
 type="cite">
  <pre wrap="">On Tue, Nov 3, 2009 at 7:36 PM, John McCall <a class="moz-txt-link-rfc2396E" href="mailto:rjmccall@apple.com"><rjmccall@apple.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">+def err_cconv_knr : Error<
+  "function with no prototype cannot use '%0' calling convention">;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'm not sure if we already have a canonical way of referring to this,
but IIRC we already use "K&R" in other places, which may be more
meaningful than "function with no prototype".
  </pre>
</blockquote>
<br>
I disagree.  I think very few people know what K&R syntax is,
outside of a vague memory that they should (but usually don't) remember
to write "(void)" instead of "()" when declaring a nullary function. 
ANSI C programmers should at least be more familiar with the concept of
a prototype.  The vast majority of people encountering this error are
going to be people who've accidentally written their nullary function
without void.<br>
<br>
...not that there's really any point to declaring a nullary function
fastcall, at least not in any of the conventions calling themselves
'fastcall' that I know about.<br>
<br>
That said, maybe we should say "K&R" and just provide a fixit to
put 'void' in the argument list.<br>
<br>
John.
</body>
</html>