fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x = 0;
  5. }
  6.  
  7. /https://pt.stackoverflow.com/q/352026/101
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:6: error: unused variable ‘x’ [-Werror=unused-variable]
  int x = 0;
      ^
prog.c: At top level:
prog.c:7:1: error: expected identifier or ‘(’ before ‘/’ token
 /https://pt.stackoverflow.com/q/352026/101
 ^
cc1: all warnings being treated as errors
stdout
Standard output is empty