HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
-Bprotected_def
-Bprotected_def
The -Bprotected_def option is the same as -Bprotected but only locally defined
(non-tentative) symbols are assigned the protected export class.
-Bsymbolic
-Bsymbolic
The -Bsymbolic option assigns protected export class to all symbols. This is equivalent
to -Bprotected with no symbol list.
NOTE: This option is deprecated as of version A.06.05 and if used, it issues a warning
that -Bprotected_defis almost always what should be used in its place.
Template Options
By using a template option on the aCC command line, you can:
• Close a library or set of link units, to satisfy all unsatisfied instantiations without
creating duplicate instantiations.
• Specify what templates to instantiate for a given translation unit.
• Name and use template files in the same way as for the cfront based HP C++
compiler.
• Request verbose information about template processing.
NOTE: All template options on an aCC command line apply to every file on the
command line. If you specify more than one incompatible option on a command line,
only the last option takes effect.
+[no]dep_name
The +[no]dep_name option enforces strict dependent-name lookup rules in templates.
The default is +dep_name.
+inst_compiletime
+inst_compiletime
The +inst_compiletime option causes the compiler to use the compile time (CTTI)
instantiation mechanism to instantiate templates. This occurs for every template used or
explicitly instantiated in this translation unit and for which a definition exists in the
translation unit. This is the default.
110 Command-Line Options