Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: A solution to the multiple inclusion problem Keywords: #include c Message-ID: <11402@smoke.BRL.MIL> Date: 24 Oct 89 20:12:42 GMT References: <14240@well.UUCP> <1989Oct23.191634.6345@cs.rochester.edu> <1659@atanasoff.cs.iastate.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <1659@atanasoff.cs.iastate.edu> hascall@atanasoff.UUCP (John Hascall) writes: - Since the impending ANSI standard requires that including a file more - than once have exactly the same effect as including it once...why can't - a compiler just ignore #includes for files it has already #included??? - (at least for the "standard" includes) It can, but ONLY for the standard headers.