(Answer) (Category) SCO comp.unix.sco.programmer FAQ. : (Category) SCO Development Environments. :
C++: I'm building C++ source with the UDK and I get warnings about 'omission of explicit type is nonstandard ("int" assumed)'
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.C
hops@sco.com
As of the UW 7.1 UDK, this general technique for selectively suppressing warning messages is documented in the CC man page.
jls@sco.com
[Append to This Answer]
Previous: (Answer) C++: Using STL in a library and I get link errors from it - Now what?
Next: (Answer) Where to get ANSI/ISO C++ standard library for SCO?
This document is: http://www.zenez.com/cgi-bin/scoprogfaq/faq?file=41
[Search] [Appearance]
This is a Faq-O-Matic 2.721.