From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9367 invoked by alias); 10 Feb 2015 00:43:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9312 invoked by uid 48); 10 Feb 2015 00:43:15 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64956] [5 Regression] __GXX_ABI_VERSION needs a proper definition for the 5.x releases Date: Tue, 10 Feb 2015 00:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: doko at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00901.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64956 --- Comment #3 from Matthias Klose --- I found this snippet in one of the xapian headers. #ifdef __GNUC__ #if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ == 0) #error Xapian no longer supports GCC < 3.1 #else #if !defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION != 1002 #error The C++ ABI version of compiler you are using does not match #error that of the compiler used to build the library. The versions #error must match or your program will not work correctly. #error The Xapian library was built with g++ 4.9.1 #endif my impression was that a value of 999999 means something like "unstable"/"newest". Assuming that there will be another version, which value should be chosen for that one?