fork(1) download
  1. #define cat(a,b) cat2(a,b)
  2. #define cat2(a,b) a##b
  3.  
  4. #define FOO 199
  5. #define REQUIRED_FOO 200
  6. #if FOO < REQUIRED_FOO
  7.  
  8. void cat(cat(FOO_is_,FOO),
  9. cat(_required_FOO_is_,REQUIRED_FOO))()
  10. {
  11. #warning Busted!
  12. }
  13.  
  14. #endif
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'FOO_is_199_required_FOO_is_200':
prog.c:11:4: warning: #warning Busted! [-Wcpp]
   #warning Busted!
    ^
/usr/lib/gcc/i586-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty