3
デバッグ情報の正しいオプションがdebug_info
です:一方Erlangをコンパイルする理由:不明なオプションでファイルにエラーが報告されない?
1> compile:file(hello, [debug_info, export_all]).
{ok,hello}
、私は理解していない非既存のオプションを渡すとき、コンパイルにも、常に成功している理由はありますか?
例えば2> compile:file(hello, [debug, export_all]).
{ok,hello}
または
3> compile:file(hello, [foobar, export_all]).
{ok,hello}
これらの2つの例は、エラーを報告しないのはなぜ?