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:
pgpVrijh1aSwD.pgp
Description: OpenPGP digital signature