autoconf
[Top][All Lists]
Advanced

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

Re: reasons for having no inclusion guards in config.h


From: Bob Friesenhahn
Subject: Re: reasons for having no inclusion guards in config.h
Date: Sun, 7 Mar 2010 15:01:16 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Sun, 7 Mar 2010, John Calcote wrote:

There may be several config.h files, each of which has somewhat different content. Bing!

So what would be wrong with generating an include guard tag based on the name of the project?

What would this be guarding?

Bob


For instance,

--------
#ifndef GRAPHICSMAGICK_CONFIG_H
#define GRAPHICSMAGICK_CONFIG_H

...

#endif
--------

John


--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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