HP C B.11.11.16 Release Notes

HP C/ANSI C Release Notes
Problem Description and Fixes
Chapter 1 29
not expect the same behavior in HP aC++. For the example:
for(int i = 0; i < j; i ++) int i;
Note the lack of a new block opening for the for statement. The C++ compiler accepts this
form, with warnings, but the C compiler does not. The difference in the way the stack is
handled causes the difference in behavior.
Previously, the C compiler did not emit the source file information for the global typedefs.
To correct this, use -y option along with -g when debug info is generated. You can
generate debug information by compiling with +objdebug.