Messages in this thread | | | From | Rick Hohensee <> | Subject | Re: Patch to remove undefined C code | Date | Fri, 20 Oct 100 22:46:57 -0400 (EDT) |
| |
(monty@gg.caltech.edu) nobly encouraged empiricism thusly... > Just to encourage empiricism, I usually check stuff like that with > > % cat > foo.c > main(){ > int i; > i = 1 , 2; > printf("%d\n",i); > } > % gcc foo.c > % ./a.out > 1 > > or similar if I'm confused.
Indeed. Further curiosity is sometimes promptly slaked in a manner such as this...
:; cLIeNUX0 /dev/tty4 17:43:31 / :;cc1 main(){ int i; i = 1 , 2; printf("%d\n",i); } :; cLIeNUX0 /dev/tty4 17:43:31 / :;
The output of cc1 is not shown in the above. You'll have to play that little ode to the joy of empiricism yourself.
Rick Hohensee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |