conditional includes

T. William Wells bill at twwells.uucp
Wed Jan 18 02:56:08 AEST 1989


In article <8000011 at modcomp> joe at modcomp.UUCP writes:
: The idea is obvious enough that it probably has occurred to others.  Have
: any of you run across an implementation?  What problems have come up with
: it?

Assert.h and anything similar, unless a different keyword is used for
the include.

There is also the little gotcha of identity: should foo and ./foo be
considered the same file? How about on a non-Unix system?

:      Or do you consider it trivial and thus would just be another instance
: of "creeping featurism" in the language?

Yes, it's a creeping feature. The feature is easily implementable in
the existing language and recognizable at a glance as what it is.

---
Bill
{ uunet!proxftl | novavax } !twwells!bill



More information about the Comp.lang.c mailing list