Organizations which design systems are constrained to produce designs which are copies of the communication structures of these organizations. (For example, if you have four groups working on a compiler, you'll get a 4-pass compiler)
Hi,
your B_SET macros has a LP-64 portability problem.
Consider:
unsigned long_t x = 0;B_SET(x, 31);assert(x == (1ULThe assertion will fail because with ((x) |= (1#define BIT_MASK(x,n) ( ((__typeof((x)))1)I think, 1LL should also work on most platforms.Btw: Any naming suggestions for macros that do not modifytheir first argument but simply create a new value?Basically, |= vs. |
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Hi,
your B_SET macros has a LP-64 portability problem.
Consider:
Reply To This Comment