Re: CURRENT Revision: 242615:

看板FB_current作者時間12年前 (2013/04/27 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
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"
文章代碼(AID): #1HUrJvVs (FB_current)
文章代碼(AID): #1HUrJvVs (FB_current)