namespace N { struct S {};
void f(S const&, int); // (1)
}
void f(N::S const&, long); // (2)
int main() { N::S x; f(x, 1);
}
Subprocesses of the Compiler
These options allow you to substitute your own processes in place of the default HP aC++ subprocesses, or pass options to HP aC++ subprocesses.
The
The parameter, x, is one or more identifiers indicating the subprocess or subprocesses. The value of x can one or more of the following:
Table 8 Identifiers
x | Description |
|
|
a | Assembler (standard suffix is as) |
|
|
c | Compiler (standard suffix is ctcom/ecom) |
|
|
C | Same as c |
|
|
f | Filter tool (standard suffix is c++filt) |
|
|
l | Linker (standard suffix is ld) |
|
|
p | Preprocessor (standard suffix is cpp.ansi). |
| |
| preprocessor, use: |
| |
|
|
u | |
|
|
x | All subprocesses |
|
|
The
1.If x is a single identifier, name represents the full path name of the new subprocess.
2.If x is a set of identifiers, name represents a prefix to which the standard suffixes are concatenated to construct the full path names of the new subprocesses.
For example, the following command invokes the assembler /users/sjs/myasmb instead of the default assembler /usr/ccs/bin/as to assemble and link file.s.
aCC
More Examples of
Following are some examples of
•Substituting for C++ file:
The following example compiles file.C and specifies that /new/bin/c++filt should be used instead of the default /opt/aCC/bin/c++filt.
Subprocesses of the Compiler | 87 |