Suppress

(Project Properties window)

*.prj\COMPILE\Messages\
Suppress

Suppress all diagnostics with the specified tags. Specify the tags in a comma-separated list.

See –-diag_suppress in the documentation for your toolchain.