Oracle Solaris Studio 12.2:C++ 用户指南

B.2.10 #pragma ident


#pragma ident string

可使用 ident string 放在可执行文件的 .comment 部分中。