The STLport bundled with the SunStudio11 generates alot of warnings. I beleive most compilers have a way to disable warnings from certain source files, like this:
Sun C<
In SunStudio 12, the #pragma error_messages work as documented in the C users manual.
You can see the tags with the -errtags=yes option, and use it like this:
// Disable badargtypel2w:
// String literal converted to char* in formal argument
#pragma error_messages (off, badargtypel2w )
and then compile with CC (the C++ compiler).