Open krtab opened 4 months ago
Actually it looks like we already have these functions. The file is actually not including stdio.h
, but has stuff like:
extern struct _IO_FILE *stdin;
I'm not sure how we should deal with it. Maybe adding an option to clang not to fail on undefined symbols (I remember seeing one at some point) would be enough...
As highlighted in #269 in sv-benchmarks/c/busybox-1.22.0/od-4.i we fail with
This is because we are missing functions in our implementation of stdio.h