Disable -Wreturn-type checking
c, compiler-errors, compiler-warnings
Solution
As per the link you posted, seems you're using gcc. You can disable a lot of error/warning checks with a `-Wno-xxxx` flag, in your case `-Wreturn-type` is causing an error so you can disable it with:
`-Wno-return-type`
Frankly, it's better to just fix the errors/warnings when you can, and that one seems easy to fix.
Problem
I am trying to compile Model 5.0 under OS X 10.8.3 I am getting a lot of warnings and errors while compiling. Several of those error are something like ``` xwin.c:31523:2: error: non-void function 'scrfrg' should return a value [-Wreturn-type] return; ``` What flag in C/C++ checks that? I want to disable it and try to finish the compilation. I'm not sure if this is the best forum to ask this, sorry for the inconvenience.