How do I define the message format to lint my project without plugin?

To define the message format so they appear properly in the Problems view, you have to add them as well to the proj_options.lnt, as the following listing shows:

Listing: proj_options.lnt File - Message Format Options

// Coerce messages for Eclipse
-hF1

+ffn

// Normally my format is defined as follows:

//-"format=%(\q%f\q %l %C%) %t %n: %m"

// For eclipse-usage, the GCC error format is necessary,

// since we have only the default eclipse error parser available.

-"format=%(%f:%l:%C:%) %t %n: %m"

// Enable warning 831 if you are interested.

-frl

// Do not break lines

-width(0) 

// And make sure no foreign includes change the format

+flm