Table 3 Size and Alignment of HP Compiler Data Types (continued)
Data Type | Size (in bytes) | Alignment |
***struct and union alignment are same and follow strict alignment of any member. Padding is done to a multiple of the alignment size.
cc
The
+unum
+unum
The +unum option allows pointers to access
1 - Assume single byte alignment. Dereferences are performed with a series of
2 - Dereferences are performed with a series of
4 - Dereferences are performed with a series of
Example:
aCC +u1 app.C
Debugging Options
Debugging options enable you to use the HP WDB debugger.
Information on HP WDB is available at this location: http://www.hp.com/go/wdb
+d
The +d option prevents the expansion of inline functions. It is useful when you debug code because breakpoints cannot be set at inline functions. Using the +d option disables all inlining. It is mapped to the +inline_level 0 option.
+expand_types_in_diag
The +expand_types_in_diag option expands typedefs in diagnostics so that both the original and final types are present.
The
To suppress expansion of inline functions, use the +d option.
The
Debugging Options 35