Hi Miguel,

On Tue, 30 Oct 2018 12:21:52 +0100 Miguel Ojeda 
<[email protected]> 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: pgpAlpnxYFDN7.pgp
Description: OpenPGP digital signature

Reply via email to