This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tree.h vs include guard


We already have guard in our Darwin sources for tree.h

I do not know, if there is particular reason for not providing guards for headers.
At one time, I saw many headers without include protection guards.

On Tuesday, August 13, 2002, at 05:54 PM, Gabriel Dos Reis wrote:

Hi,

  I noticed that tree.h has no guard to prevent multiple-inclusions.
Why so?  FWIW, c-tree.h, c-common.h and cp-tree.h do have such a
thing.

-- Gaby

-Devang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]