Glenn Fowler wrote:
> 
> what are the ON lint options?

For ksh93 in OS/Net the "lintcheck" target calls /opt/SUNWspro/bin/lint
like this (this is for libdll only):
-- snip --
/opt/SUNWspro/bin/lint -uaxm -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\"
-D_TS_ERRNO  '-DHOSTTYPE="sol11.i386"'  -I. 
-I/home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/include/ast 
'-DCONF_LIBSUFFIX=".so"'  '-DCONF_LIBPREFIX="lib"'  -D_BLD_dll 
-D_PACKAGE_ast  -D_BLD_DLL -errtags=yes -s -erroff=E_PTRDIFF_OVERFLOW
-erroff=E_ASSIGN_NARROW_CONV -U__PRAGMA_REDEFINE_EXTNAME -Xc99=%all
-D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -errsecurity=core
-erroff=E_SEC_CREAT_WITHOUT_EXCL -erroff=E_SEC_FORBIDDEN_WARN_CREAT
-erroff=E_ASSIGN_INT_TO_SMALL_INT -erroff=E_CAST_INT_CONST_TO_SMALL_INT
-erroff=E_CAST_INT_TO_SMALL_INT -erroff=E_CAST_TO_PTR_FROM_INT
-erroff=E_COMP_INT_WITH_LARGE_INT -erroff=E_INTEGRAL_CONST_EXP_EXPECTED
-erroff=E_PASS_INT_TO_SMALL_INT -erroff=E_PTR_CONV_LOSES_BITS -m
-erroff=E_NAME_DEF_NOT_USED2 -erroff=E_NAME_DECL_NOT_USED_DEF2
../common/dlfcn.c  ../common/dllfind.c  ../common/dlllook.c 
../common/dllnext.c  ../common/dllplug.c  ../common/dllscan.c
-L/home/test001/ksh93/on_build1/test1_x86/proto/root_i386/lib
-L/home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/lib  
-last -lc
-- snip --
e.g. the standard flags for CC are used and then all sources are
provided in one step.

I can email you the full lint logs off-list if you want...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to