From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 28 07:41:39 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76492106564A for ; Mon, 28 Apr 2008 07:41:39 +0000 (UTC) (envelope-from frank@pinky.sax.de) Received: from post.frank-behrens.de (post.frank-behrens.de [82.139.255.138]) by mx1.freebsd.org (Postfix) with ESMTP id D55B78FC0A for ; Mon, 28 Apr 2008 07:41:38 +0000 (UTC) (envelope-from frank@pinky.sax.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinky.sax.de; h=from:to:date:mime-version:subject:in-reply-to:content-type:content-transfer-encoding:content-description; q=dns/txt; s=pinky1; t=1209367669; i=frank@pinky.sax.de; bh=hx/811vfUM+8BOgzYR0vdUxWAHRt+G2fyR0Pa3BJwdQ=; b=EZl3ZcVMo1wm/rJJKzru1+r1xXS7+zqVgK4JgUV/22/fiUlgyo8cuPFDs6djcaP6igGn8GHhYO0whY1m24yDHw== Received: from [192.168.20.32] (sun.behrens [192.168.20.32]) by post.frank-behrens.de (8.14.2/8.14.2) with ESMTP-MSA id m3S7RZMP017473 for ; Mon, 28 Apr 2008 09:27:35 +0200 (CEST) (envelope-from frank@pinky.sax.de) Message-Id: <200804280727.m3S7RZMP017473@post.frank-behrens.de> From: "Frank Behrens" To: freebsd-hackers@freebsd.org Date: Mon, 28 Apr 2008 09:27:35 +0200 MIME-Version: 1.0 Priority: normal In-reply-to: <20080426213557.GA88577@marvin.blogreen.org> X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT Content-description: Mail message body X-Hashcash: 1:24:080428:freebsd-hackers@freebsd.org::oTU2oS6GuFRL4aBY:0000000zEwO Subject: Re: indent(1) support for gcc(1) 0b prefix X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 07:41:39 -0000 Romain Tartière wrote on 26 Apr 2008 23:35: >... > I was so wondering how useful(less) it was to support this extension in > FreeBSD indent(1) program. The version of gcc provided with the base > system does not support this syntax, and AFAIK, only the avr-gcc port > support this kind of constructs... It will be useful. The new gcc 4.3 release supports this extension without addtional patches. I cite the changelog: "Integer constants written in binary are now supported as a GCC extension. They consist of a prefix 0b or 0B, followed by a sequence of 0 and 1 digits." -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available.