This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: PACKAGE and VERSION defines



> 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

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