logoalt Hacker News

pseudohadamardlast Sunday at 7:37 AM1 replyview on HN

Pretty much any existing C compiler will also solve that problem by telling you that it's uninitialized.


Replies

WalterBrightlast Sunday at 8:16 AM

I tried:

    int test()
    {
        int i;
        return i;
    }
using clang on my Mac mini, and:

    clang -c test.c
and it compiled without complaint.
show 2 replies