fork(2) download
  1. #define bool
  2. #define true 666
  3.  
  4.  
  5. #ifdef bool
  6. #undef bool
  7. #define bool _Bool
  8. #define true 1
  9. #define false 0
  10. #endif
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:8:0: warning: "true" redefined
 #define true 1
 
prog.c:2:0: note: this is the location of the previous definition
 #define true 666
 
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty