The error is that "implicit int" is no longer allowed in C++.
Assuming you don't want to fix up the source, but just want to get rid
of the diagnostics, here is a technique to suppress the warning messages :
1) Get the compiler to tell you what the error numbers are when
diagnostics are displayed using
-Wf,--display_error_number
CC -c -Wf,--display_error_number whatever.C
2) Modify the build with switches to suppress that diagnostic.
-Wf,--diag_suppress -Wf,838
CC -c -Wf,--diag_suppress -Wf,838 -c whatever.C
e.g.
CC -c -Wf,--display_error_number w.C
"w.C", line 1: warning #838-D: omission of explicit type is nonstandard ("int"
assumed)
CC -c -Wf,--diag_suppress -Wf,838 -c w.Chops@sco.com |