Could we make this work without errors and warnings?

Pike v8.1 release 9 running Hilfe v3.5 (Incremental Pike Frontend)
> void foo() { }
> void bar() { return foo(); }
Compiler Warning: 1: Returning a void expression. Converted to zero.
Compiler Error: 1: Wrong return type.
Compiler Error: 1: Expected: void.
Compiler Error: 1: Got     : zero.
  • Ret... Martin Nilsson (Coppermist) @ Pike (-) developers forum
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
      • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Martin Nilsson (Coppermist) @ Pike (-) developers forum

Reply via email to