Tom Chen writes: > Our company wants to add a GLDv3 driver to the OpenSolaris. I am wondering > how to do lint checking?
GLDv3 isn't a publicly documented interface, isn't stable, and can't really be used outside of ON yet in any supported way. Those caveats aside ... > LINTFLAGS = -xO3 -xarch=v9 -xcode=abs32 -s -errchk=%all -c -errhdr -Ncheck > -Nlevel=4 The big problem I see there is "-Nlevel=4." Lint is a bit of an odd beast. It's actually two *different* binaries. There's an "new lint" that is invoked if you use the "-Nlevel=" option, and an "old lint" that is invoked if that option is absent. The two are completely different code bases, and are maintained separately. Though they use the same C standards, they do work differently. (No, I'm not sure why it's done that way ...) We currently use the old lint in ON. -- James Carlson, Solaris Networking <[email protected]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
