Xref: utzoo comp.lang.c:23445 comp.lang.c++:5293 gnu.g++:494 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!oliveb!tymix!cirrusl!sunscreen!dhesi From: dhesi@sunscreen.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c,comp.lang.c++,gnu.g++ Subject: Re: A solution to the multiple inclusion problem Message-ID: <1013@cirrusl.UUCP> Date: 30 Oct 89 01:07:23 GMT References: <14240@well.UUCP> <1087@odin.SGI.COM> Sender: news@cirrusl.UUCP Reply-To: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Organization: Cirrus Logic Inc. Lines: 12 In article <1087@odin.SGI.COM> shap@delrey.sgi.com (Jonathan Shapiro) writes: >The current most widley accepted solution for single inclusion is to >insert a pragma into the header file: > > #pragma once A serious mistake, because this pragma can affect the meaning of a program, and therefore cannot be safely ignored. Rahul Dhesi UUCP: oliveb!cirrusl!dhesi Use above addresses--email sent here via Sun.com will probably bounce.