(j3.2006) C1576 and C1577

Van Snyder Van.Snyder
Wed Jul 19 16:37:35 EDT 2017


C1576 and C1577 concerning statement functions are inconsistent.

Concerning a statement function referenced in the definition of one,
C1576 says "its definition shall have been provided earlier in the
scoping unit".

Concerning named constants and arrays in the definition, C1577 says
"shall have been declared [...] earlier in the scoping unit or made
accessible by use or host association."

The processors I tried are perfectly happy to allow a statement function
definition to reference one defined in the host scoping unit and
accessed by host association.

1. Do we care about antique and inconsistent wording in anything to do
with statement functions?

2. Do we care that C1576 and C1577 are apparently inconsistent?

3. If we care, would it be OK to make them consistent by using the
ubiquitous terminology "previously defined" and "previously declared,"
which frequently appear without "or made accessible by use or host
association" but clearly do include those kinds of accessibility?





More information about the J3 mailing list