From owner-svn-src-all@FreeBSD.ORG Thu Dec 29 17:43:06 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 630FE106566C; Thu, 29 Dec 2011 17:43:06 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id E8B2D8FC08; Thu, 29 Dec 2011 17:43:05 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id pBTHdS9Z033057; Thu, 29 Dec 2011 18:39:29 +0100 (CET) (envelope-from andreast@FreeBSD.org) Message-ID: <4EFCA6A6.6080103@FreeBSD.org> Date: Thu, 29 Dec 2011 18:43:02 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Ed Schouten References: <201112291441.pBTEfI8l060127@svn.freebsd.org> In-Reply-To: <201112291441.pBTEfI8l060127@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r228955 - head/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:43:07 -0000 On 29.12.11 15:41, Ed Schouten wrote: > Author: ed > Date: Thu Dec 29 14:41:17 2011 > New Revision: 228955 > URL: http://svn.freebsd.org/changeset/base/228955 > > Log: > Don't define static_assert for C++. > > Even though _Static_assert() is pretty robust for C code, it cannot work > correctly with C++ code. This is due to the fact that C++ template > parameters may contain commas that are not enclosed in parentheses. For > example: > > static_assert(foo::bar == baz, "..."); > > This causes _Static_assert to be called with an excessive number of > parameters. If you want to use static_assert in C++, just use a C++11 > compiler. > > Reported on: current@, ports@ Thank you Ed! gcc-4.6 bootstrap successful. Andreas