https://issues.dlang.org/show_bug.cgi?id=22342

--- Comment #1 from Iain Buclaw <[email protected]> ---
C11 6.7.6.3-14: An identifier list declares only the identifiers of the
parameters of the  function. An empty list in a function declarator that is
part of a definition of that function specifies that the function has no
parameters. The empty list in a function declarator that is not part of a
definition of that function specifies that no information about the number or
types of the parameters is supplied(*).

(*) See "future language directions" (6.11.6).

C11 6.11.6: The use of function declarators with empty parentheses (not
prototype-format parameter type declarators) is an obsolescent feature.

--

Reply via email to