Re: CURRENT Revision: 242615:
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. :)
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)