On Tue Apr 22 18:43:07 2014, tonyc wrote: > be better handled with an assert? Even a compile-time assert if we > had the mechanism for it. > > Tony Add one. For example ---------------------------- #define STATIC_ASSERT(expr) ((void)sizeof(char[1 - 2*!!!(expr)])) ---------------------------- from https://metacpan.org/source/BULKDD/Win32-API-0.77/API.h#L248 I've added new C compiler support macros before in https://github.com/Perl/perl5/commit/ae103e099635e075f433d5302425673c4fe7badf#diff-408899f5d0d5a90cdff082c8f0d0441aR3111 . -- bulk88 ~ bulk88 at hotmail.com --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=121712Thread Previous | Thread Next