Re: Compilation error (pkgng)

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
On Jan 23, 2013, at 12:14 AM, Alie Tan wrote: > Seems this check-in causing compilation error: > > http://freshbsd.org/commit/freebsd/r245828 > > -nonliteral -c /usr/src/usr.sbin/pkg_install/lib/pkgng.c -o pkgng.o > /usr/src/usr.sbin/pkg_install/lib/pkgng.c:53:45: error: expected ')' > rc = snprintf(pkgngpath, sizeof(pkgngpath) "%s/local.sqlite", > pkgngdir); > ^ > /usr/src/usr.sbin/pkg_install/lib/pkgng.c:53:15: note: to match this '(' > rc = snprintf(pkgngpath, sizeof(pkgngpath) "%s/local.sqlite", > pkgngdir); > ^ > /usr/src/usr.sbin/pkg_install/lib/pkgng.c:54:9: warning: comparison of > integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] > if (rc >= sizeof(pkgngpath)) { > ~~ ^ ~~~~~~~~~~~~~~~~~ > 1 warning and 1 error generated. Fixed by r245837. Thanks, Jason _______________________________________________ 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): #1HUrkvh6 (FB_current)
文章代碼(AID): #1HUrkvh6 (FB_current)