I remain somewhat surprised that nobody has added __attribute__ clauses to
gcc to implement programming-by-contract (precondition, postcondition, and
invariant clauses). This would have the advantage that test kernels could
be built with the clauses enabled (potential speed hit) and release kernels
could have them disabled by default, as well as documenting the requirements
of a function.
--
brandon s. allbery os/2,linux,solaris,perl allbery@kf8nh.apk.net
system administrator kthkrb,heimdal,gnome,rt allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering kf8nh
We are Linux. Resistance is an indication that you missed the point.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/