bug-standards
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mismatch about which version of C is ok to require (K&R woes, again)


From: Stefano Lattarini
Subject: Mismatch about which version of C is ok to require (K&R woes, again)
Date: Tue, 01 Jan 2013 21:13:07 +0100

In section "3.4 Standard C and Pre-Standard C", near the beginning,
I read:

    1989 Standard C is widespread enough now that it is OK to use its
    features in new programs.

(which of course makes sense, and is the most sensible approach).  But
later in the same section I see:

    To support pre-standard C, instead of writing function definitions
    in standard prototype form, [SNIP]

and then again, near the end:

    In order to support pre-standard compilers that do not recognize
    prototypes, you may want to use a preprocessor macro like [SNIP]

both of which seems redundant, if not in contradiction, with the fact
that it's now OK to require C89.

IMHO this references to no-longer-supported K&R C (and other similar
references, if any) should just be removed.

Regards,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]