On Thu, 24 Nov 2005 11:11:50 PST, Norman Shapiro said:

> I often have a manfiest constant WHO_CARES,
> 
> #define WHO_CARES (void*)012345

#define WHO_CARES 0xdeadbeef

int foo = WHO_CARES;

Has the advantage that if you *do* make it through the code without actually
setting a known good value, you'll probably get a SIGSEGV or other blatantly
obvious indication that things have gone very very awry. '12345' doesn't always
do that for you....

Attachment: pgpD1XLm162M8.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to