6 * check_type - routines for compile time type checking
8 * C has fairly weak typing: ints get automatically converted to longs, signed
9 * to unsigned, etc. There are some cases where this is best avoided, and
10 * these macros provide methods for evoking warnings (or build errors) when
11 * a precise type isn't used.
13 * On compilers which don't support typeof() these routines are less effective,
14 * since they have to use sizeof() which can only distiguish between types of
17 int main(int argc, char *argv[])
22 if (strcmp(argv[1], "depends") == 0) {
24 printf("build_assert\n");