2015-08-21 8:17 GMT+02:00 Hans Petter Selasky <h...@selasky.org>:
> Here is one more argument against using "_Static_assert()":
>
> According to "http://en.cppreference.com/w/c/language/_Static_assert";
> _Static_assert is C11 syntax only, and we compile the kernel using
> "-std=iso9899:1999" according to "conf/kern.mk:CFLAGS" in -current. So
> technically it shouldn't work, and it throws up compile errors with certain
> other C tools I'm using at work which are more strict than clang.

In practice it does.

-- 
Ed Schouten <e...@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717
_______________________________________________
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