Date: Fri, 21 Aug 2015 08:43:01 +0200 From: Ed Schouten <ed@nuxi.nl> To: Hans Petter Selasky <hps@selasky.org> Cc: John-Mark Gurney <jmg@funkthat.com>, Bruce Evans <brde@optusnet.com.au>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r286170 - head/share/man/man9 Message-ID: <CABh_MK=-WQVBsNbbANUCQoEX4fuBPuaxkbPN_h9XJs7FR_0f-A@mail.gmail.com> In-Reply-To: <55D6C291.2080606@selasky.org> References: <201508020022.t720MFqp023071@repo.freebsd.org> <20150802145434.V1128@besplex.bde.org> <CABh_MKm3cWbPu6WiP9i%2BF-6CuuAH-UAGcek8jEbN0ZxjNZ5GeA@mail.gmail.com> <55C09869.2040605@selasky.org> <20150804171051.GL78154@funkthat.com> <55D6C291.2080606@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2015-08-21 8:17 GMT+02:00 Hans Petter Selasky <hps@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 <ed@nuxi.nl> Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MK=-WQVBsNbbANUCQoEX4fuBPuaxkbPN_h9XJs7FR_0f-A>