From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 15:04:16 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6402D3F4; Mon, 5 Nov 2012 15:04:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 18A638FC0A; Mon, 5 Nov 2012 15:04:16 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d493:276:882f:463e] (unknown [IPv6:2001:7b8:3a7:0:d493:276:882f:463e]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1F7CD5C59; Mon, 5 Nov 2012 16:04:14 +0100 (CET) Message-ID: <5097D56C.5050709@FreeBSD.org> Date: Mon, 05 Nov 2012 16:04:12 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "O. Hartmann" Subject: Re: CURRENT Revision: 242615: /usr/src/usr.bin/less/../less/defines.h:188:25: error: '/*' within block comment [-Werror,-Wcomment],#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ References: <5097BC6B.5020809@zedat.fu-berlin.de> In-Reply-To: <5097BC6B.5020809@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Current FreeBSD , Xin LI X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 15:04:16 -0000 On 2012-11-05 14:17, O. Hartmann wrote: > While building world as of today, I receive this error: > > > In file included from /usr/src/usr.bin/less/../../contrib/less/main.c:16: > In file included from /usr/src/usr.bin/less/../../contrib/less/less.h:29: > /usr/src/usr.bin/less/../less/defines.h:188:25: error: '/*' within block > comment [-Werror,-Wcomment] > #define CMDBUF_SIZE 512 /* Buffer for multichar commands */ > ^ > 1 error generated. > *** [main.o] Error code 1 It is caused by a typo in usr.bin/less/defines.h, in r242584, where Xin imported a new version of less: 187 #if 0 /* old sizes for small memory machines 188 #define CMDBUF_SIZE 512 /* Buffer for multichar commands */ The "old sizes for small memory machines" comment is not properly terminated. Clang has the above warning specifically to ferret out such typos. :)