[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in #include guards

From: Alexander Belopolsky
Subject: Re: Bug in #include guards
Date: Tue, 2 Oct 2001 12:47:57 -0400 (EDT)

Akim Demaille writes:
 > I'm applying this, thanks.
 > +  for (cp = macro_name; *cp; ++cp)
 > +    if (islower (*cp))
 > +      *cp = toupper (*cp);
In addition to my previous comment, I believe that upcasing all
macro_name character is not a good idea for the same reason: include
guards should be different in different file names.

Alexander Belopolsky | Renaissance Technologies Corp.
600 Route 25A | East Setauket | NY 11733-1249
PH: 631-444-7125 | FAX: 631-444-7009

reply via email to

[Prev in Thread] Current Thread [Next in Thread]