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 */
Dimitry Andric
dim at FreeBSD.org
Mon Nov 5 15:04:16 UTC 2012
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. :)
More information about the freebsd-current
mailing list