[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181031030229.725abfe2@canb.auug.org.au>
Date: Wed, 31 Oct 2018 03:02:29 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
changbin.du@...il.com
Subject: Re: linux-next: manual merge of the compiler-attributes tree with
the kbuild tree
Hi Miguel,
On Tue, 30 Oct 2018 12:21:52 +0100 Miguel Ojeda <miguel.ojeda.sandonis@...il.com> wrote:
>
> From a quick look, it seems we want:
>
> #ifndef CONFIG_CC_OPTIMIZE_FOR_DEBUGGING
> #define __compiletime_warning(message) __attribute__((__warning__(message)))
> #define __compiletime_error(message) __attribute__((__error__(message)))
> #endif
Thanks, I will use that resolution.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists