Warnings are being sent to stdout
They should be sent to stderr, instead.
Example:
./bfc --dump-llvm a.bf > a.ll
can result in a.ll to have something like "a.bf:59:135 warning: These instructions have no effect." (plus lots of bf instructions)
This will make clang or llc to not compile a.ll.
Warnings are being sent to stdout They should be sent to stderr, instead.
Example: ./bfc --dump-llvm a.bf > a.ll
can result in a.ll to have something like "a.bf:59:135 warning: These instructions have no effect." (plus lots of bf instructions) This will make clang or llc to not compile a.ll.