Elijah Newren <newren@xxxxxxxxx> writes: >> >> +extern int not_supposed_to_survive; >> >> +#define assert(expr) ((void)(not_supposed_to_survive || (expr))) >> > >> > , which serve as the core trick, I had used elsewhere before. >> >> It may be arguable that it is too small to be copyrightable and >> there is no other way to express the idea behind that check, but >> in any case ... > > That's what I had been assuming, but then you, brian, and Taylor all > pointed out how clever it was making me think otherwise. Heh, cleverness lies in the idea, not the expression, and copyright is about expression. > Turns out we don't need an alternative. I contacted the author, who > responded and placed the two-liner into the public domain with no > warranty of any kind. I'll send a re-roll with an updated commit > message. Wonderful. That is the best solution. Thanks.