Wilfred / bfc

An industrial-grade brainfuck compiler
https://bfc.wilfred.me.uk
GNU General Public License v2.0
504 stars 30 forks source link

Warnings sent to stdout #21

Closed LucasMW closed 6 years ago

LucasMW commented 6 years ago

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.