Re: linux-next: manual merge of the compiler-attributes tree with the kbuild tree
From: Stephen Rothwell
Date: Tue Oct 30 2018 - 12:02:50 EST
Hi Miguel,
On Tue, 30 Oct 2018 12:21:52 +0100 Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> 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
Attachment:
pgpgwoo_sCoHt.pgp
Description: OpenPGP digital signature