language: C99 strict (gcc-4.7.2)
date: 396 days 12 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int main()
{ 
    int i = 10;
    int j = 10;
    if(i = 5)
    {
        j = 100;
    }
    else
    {
        j = 200;
    }
        
    return 0;
}
cc1: warnings being treated as errors
prog.c: In function ‘main’:
prog.c:5: error: suggest parentheses around assignment used as truth value