bhou...@hopi.intel.com (Blair P. Houghton) writes:--- Synchronet 3.19c-Linux NewsLink 1.113
----->8 Clip 'n' compile 8<----At this point, the compiler is at liberty to generate a program which formats your hard disk drive. In fact, it probably should. 3.3.3.4, 1.6, six two and even, over and out.
/*
* Your compiler may warn that the size of `struct foo' is
* zero, but that doesn't mean it won't generate the
* executable correctly
*/
typedef struct A *A;
struct foo *foo;
main()
{
printf("hello\n");
printf("*foo size: %d\n", sizeof(struct foo) );
printf("A size: %d\n", sizeof(A) );
}
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,126 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 52:12:34 |
| Calls: | 14,414 |
| Calls today: | 2 |
| Files: | 186,401 |
| D/L today: |
11,548 files (3,179M bytes) |
| Messages: | 2,548,967 |
| Posted today: | 1 |