[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on design of a C++ library w.r.t. config.h contents
From: |
Jeff Squyres |
Subject: |
Re: Question on design of a C++ library w.r.t. config.h contents |
Date: |
Sat, 9 Nov 2002 08:00:08 -0500 (EST) |
On Fri, 8 Nov 2002, Michael D. Beynon wrote:
> I have a C++ library that I use with autotools. I have a config.h that
> gets produced, and is included by BOTH the library c++ files and the
> header files. These header files are also exported for users of the
> library. The problem is if the users also use autotools, the PACKAGE,
> VERSION, etc. symbols collide, and the current version of g++3.2
I agree. The programmer should be given the option to turn off the
PACKAGE/VERSION macros. Automake provides similar functionality --
autoconf should, too.
--
{+} Jeff Squyres
{+} address@hidden
{+} Research Associate, Open Systems Lab, Indiana University
{+} http://www.osl.iu.edu/