On 03/15/16 22:56, Don Lewis wrote:
How can you do a CTASSERT() on something that isn't known at compile
time?


It can be part of the API, that some arguments cannot be variables. It makes typechecking and other checking easier.

Gleb: I'll test and submit an array size assert for the static sysctl u64 array version.

--HPS
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to