Sun Studio 12: C++ User's Guide

Warnings:

This option is only effective for linking of executables, not for libraries.