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.
On the Command Prompt window, type the command <chkntfs /x C:> if your target is to disable a disk check task on the C: drive.
If you notice that the check disk utility keeps running after every startup, it means that the hard drive is failing, and that should cause alarm.
Use CMD to Stop Disk Checking Right-click on the command prompt and open "Run as Administrator". Below are some key points to remember to stop disk checking: Replace C with the letter of the drive you want to stop disk checking on startup. The /x is the parameter to disable the auto-check on startup of the select drive.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With