Warning term [return]ed by compile:file/2 changed in R10B

Hans.Bolinder <>
Thu May 4 14:00:54 CEST 2006

[Dominic Williams:]
> The format of the warnings term returned by:
> compile:file(foo,[return])
> has changed in R10B, and is never empty even when there are no warnings.
> E.g. on a file that compiles without warnings, previous versions returned:
> {ok, foo, []}
> while R10B returns:
> {ok,foo,[{"./foo.erl",[]},{"./foo.erl",[]},{"./foo.erl",[]}]}

The old behaviour will be back in the upcoming R11B release.

Best regards,

Hans Bolinder, Erlang/OTP

More information about the erlang-bugs mailing list