lkml.org 
[lkml]   [2000]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Patch to remove undefined C code
    Date
    (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/

    \
     
     \ /
      Last update: 2005-03-22 12:41    [W:0.019 / U:59.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site