HP aC++ Release Notes Version A.03.95 (5900-1789; September 2011)

HP aC++ Release Notes
New Features in Version A.03.55
Chapter 126
New Features in Version A.03.55
HP aC++ version A.03.55 supports the following new features:
-notrigraph Option
NO_SIDE_EFFECTS Pragma
-notrigraph Option
This option inhibits the processing of trigraphs. The -notrigraph option, in previous versions, caused the
legacy preprocessor to be invoked, which ignored trigraphs. These trigraphs were still interpreted by the
compiler in the preprocessed source.
In this version, the -notrigraph option does not invoke the legacy preprocessor and also suppresses the
trigraphs from being interpreted.
This option is not recommended. The proper portable solution is to quote the "?" as "\?".
NO_SIDE_EFFECTS Pragma
This pragma states that functionname and all the functions that functionname calls will not modify any
of a program’s local or global variables. This pragma provides additional information to the optimizer which
results in more efficient code.
Syntax:
#pragma NO_SIDE_EFFECTS functionname,..., functionnameN
Example:
#pragma NO_SIDE_EFFECTS foo
// where foo is name of a function.