Syntax Error in erl_resolve.c

Patrick Baggett baggett.patrick@REDACTED
Sat Jun 27 22:35:36 CEST 2009


When compiling Erlang on IRIX using MIPSpro CC, I get the following error:
cc-1117 c99: ERROR File = legacy/erl_resolve.c, Line = 42
  An expression appears after a "return" in a "void" function.

      return ei_init_resolve();

This isn't valid C99 code. It should be:

      ei_init_resolve();
      return;

Changing that allows for the code to continue. Can anyone push this change?

Patrick


More information about the erlang-bugs mailing list