Hello,
I downloaded OpenDwarfs and tried to compile on Mac OS X following the README instructions, then I got the error:
../include/common_args.c:231:1: error: control reaches end of non-void function
[-Werror,-Wreturn-type]
To correct this error, just add a return 0; to the line 231 of the file common_args.c and it will compile, but you need either to correct the function signature and change int to void, or supply the correct returns inside the function.
Hello,
I downloaded OpenDwarfs and tried to compile on Mac OS X following the README instructions, then I got the error:
../include/common_args.c:231:1: error: control reaches end of non-void function
[-Werror,-Wreturn-type]
To correct this error, just add a return 0; to the line 231 of the file common_args.c and it will compile, but you need either to correct the function signature and change int to void, or supply the correct returns inside the function.