Check Gimple.com and search for env-sl3.lnt. Give the whole scoop how to run & get the Red 'X's
The basic jist is put the following in your lint configuration file
-"format=%(%f %l %)error %n: (%t -- %m)" // Messages will contain
// file information (%f), the line number (%l), the
// message number (%n), message type (%t) and message text (%m).
// Notice that all messages are labeled 'error' but are then
// followed by a type (such as Warning, Info, Note, etc.)
-hF2 // Make sure we ALWAYS provide file information ('F') and use 2
// lines (line in error plus message).
-width(0) // don't break messages at any particular width