CORBA 2.6 Programmer's Guide for C++
#include idltest/t1_client.h
and the -include 1 option generates:
#include t1_client.h
If level equals 0, the full pathname is generated. If level is more than the number of directories in the path, the full
path is generated.
-ir
Generate an Interface Repository (IR) from the input IDL (the existing IR definitions are updated). The default is off.
-IR
Generate an Interface Repository (IR) from the input IDL (the existing IR definitions are replaced). Useful if you use
Dynamic Invocation Interface (DII). The default is off.
-no_
Specify no intervening underscore character when naming generated files. The default is to use an underscore.
-o dir
Place generated files in the specified output directory. The default is the current directory.
-preprocessor
Specify the preprocessor and preprocessor options to be used. The default is cfe -E. The -E is an input argument to
cfe directing it how to operate for the NonStop CORBA environment. Any ANSI C or ANSI C++ preprocessor can be
used.
-preprocessed
Specify that the input file has already been preprocessed. This file must end in .idl.i.
-s suffix
Specify the file suffix used for generated C++ source files. By default, cpp is used for C++ source files.
-server qualifier
Specify the filename qualifier used for the server-side header and C++ source files. This server-side filename qualifier is
appended to the base IDL filename with an intervening underscore. The default is server.
-typecodes
Generate typecode constants for interfaces and types defined in the IDL file. When specified, the compiler generates
any insertion or extraction operators for user-defined types (>>=, <<=). The default is off. You should keep the default
setting unless you use the any data type.
-version
Display the IDL compiler version information.
nsdidl Compiler Error Handling
If you make an error while entering a compiler option, the following message appears:
nsdidl: Error: unknown option: -demo,
use: nsdidl [-?][-v][-D name][-D name=definition][-U][-I dir][-language (C++ | J
ava)][-version][-o dir][-generate arg][-h suffix][-s suffix][-client suffix][-se
rver suffix][-no_][-include level][-typecodes][-IR][-ir][-preprocessor arg][-pre
processed][-map2package module package][-dll define-name][filename]*
1 error
In the command line, you must place any options you are using after the command and before any filenames. If an option
appears after a filename, the following message appears: