This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: PACKAGE and VERSION defines
- To: "Gerd v. Egidy" <egidy at deam dot de>
- Subject: Re: PACKAGE and VERSION defines
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Mon, 1 Nov 1999 09:34:01 -0800 (PST)
- cc: libstdc++ at sourceware dot cygnus dot com
> i wonder why PACKAGE and VERSION are defined in include/g++-v3/bits/c++config.h which is included in a lot of c++-includes.
>
> they are usually defined in the project's config.h, created by autoheader (gnu autoconf suite). i want to use the autoconf system to
> set version information and now i have to use ugly workarounds.
see bits/c++config.h:
// The current version of the C++ library in compressed ISO date format.
#define __GLIBCPP__ 19990804
This is the macro you should key off of, as it changes for each
snapshot/release.
> and why is VERSION currently defined "2.90.5" instead of "2.90.6.1"?
Thanks for pointing this out.
-benjamin