HP aC++/HP C A.06.25 Release Notes

Table Of Contents
Using an array will force the string to be read/write.
Other simpler cases can be handled as:
changing to array will work in most cases:
char *temp = "abcd";
char temp[] = "abcd";
If temp is used as a pointer:
static char temp_arr[] = "abcd";
char *temp = temp_arr;
+macro_debug= (New)
The +macro_debug option controls the emission of macro debug information into the
object file:
+macro_debug={ref|all|none}
Set +macro_debug to one of the following required values:
ref
Emits debug information only for referenced macros. This is the default for
-g, -g1,or -g0.
all
Emits debug information for all macros. This option can cause a significant
increase in object file size.
none
Does not emit any macro debug information.
One of the -g options (-g, -g0, or -g1) must be used to enable the
+macro_debugoption.
+nomacro_debug suppresses emission of macro debug information into the object
file.
+pathtrace (New)
+pathtrace[=kind]
The +pathtraceoption provides a mechanism to record program execution control
flow into global and/or local path tables. The saved information can be used by the HP
WDB debugger to assist with crash path recovery from the core files, or to assist when
debugging the program by showing the executed branches.
Usage:
The defined values for kind are:
local
Generates a local path table and records basic
block-execution information in it at runtime.
global
Generates a global path table and records basic
block-execution information in it at runtime.
32 What’s New in This Version