Re: BUILD_BUG_ON_MSG

2018-04-15 Thread Julia Lawall
On Sun, 15 Apr 2018, Daniel Santos wrote: > Hello Julia, > > I'm CCing LKML on this so that others can be involved. > > > On 04/15/2018 12:43 AM, Julia Lawall wrote: > > Hello, > > > > I saw that you introduced BUILD_BUG_ON_MSG in the Linux kernel a few years > > ago. > > > > BUILD_BUG_ON_MSG is

Re: BUILD_BUG_ON_MSG

2018-04-15 Thread Daniel Santos
Hello Julia, I'm CCing LKML on this so that others can be involved. On 04/15/2018 12:43 AM, Julia Lawall wrote: > Hello, > > I saw that you introduced BUILD_BUG_ON_MSG in the Linux kernel a few years > ago. > > BUILD_BUG_ON_MSG is not safe when used in header files. Via > compiletime_assert, it