From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3920 invoked by alias); 15 Dec 2013 12:28:43 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 3911 invoked by uid 89); 15 Dec 2013 12:28:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailgw13.technion.ac.il Received: from mailgw13.technion.ac.il (HELO mailgw13.technion.ac.il) (132.68.225.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 15 Dec 2013 12:28:42 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoAANeerVKERAHAl2dsb2JhbABZhxqyWoMGgRkWDgEBAQEBCBYHPIIlAQECAyMVQBELDgoCAgUWCwICCQMCAQIBRQYBDAgBAYgAsRCRLIYqF4EpjXeCboFIAQOeW457 X-IPAS-Result: AuoAANeerVKERAHAl2dsb2JhbABZhxqyWoMGgRkWDgEBAQEBCBYHPIIlAQECAyMVQBELDgoCAgUWCwICCQMCAQIBRQYBDAgBAYgAsRCRLIYqF4EpjXeCboFIAQOeW457 Received: from techunix.technion.ac.il ([132.68.1.192]) by mailgw13.technion.ac.il with ESMTP; 15 Dec 2013 14:28:39 +0200 Received: from [127.0.0.1] (techunix.technion.ac.il [132.68.1.192]) by techunix.technion.ac.il (Postfix) with ESMTP id 7FE342A00A3; Sun, 15 Dec 2013 14:28:39 +0200 (IST) Message-ID: <52ADA077.7020406@tx.technion.ac.il> Date: Sun, 15 Dec 2013 12:28:00 -0000 From: Michael Veksler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ben Longbons , gdb@sourceware.org Subject: Re: [C++] System Requirements References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00024.txt.bz2 On 14/12/13 02:40, Ben Longbons wrote: > > NetBSD 6.1.1 (2013-08-22): gcc 4.8.1 > NetBSD 5.1 (2010-11-19): gcc 3.3.6 > > OpenBSD 5.4 (2013-11-01): gcc 4.2.1 > OpenBSD 4.7 (2010-05-19): gcc 3.3.5 > > I recommend to avoid gcc versions prior to gcc-3.4. Over a decade ago I had to port code from gcc-3.2 to gcc-3.4 without losing support for gcc-3.2. Even though the code was much smaller than gdb it was a pain to support both versions in parallel: 1. gcc-3.2 has an old C++ parser and supports a dialect of C++ which predates ISO C++. 2. gcc-3.2 does not have namespace 3. Requires STL as a separate library 4. Containers of the STL libraries do not understand allocators, and can't be taught to due to limitations in old C++ 5. Templates have significantly different semantics, and define a one-pass parsing (unlike 2 pass in ISO C++). Avoid gcc-3.2 Michael