mirror of https://gerrit.osmocom.org/asn1c
updated manual page
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@898 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
14a1e89506
commit
57f5c12751
|
@ -23,7 +23,9 @@ and other encoding standards.
|
|||
.TP
|
||||
\fILanguage Options\fR
|
||||
.br
|
||||
\fB\-fall-defs-global \-fbless-SIZE \-fnative-types \-fno-constraints \-funnamed-unions \-ftypes88\fR
|
||||
\fB\-fall-defs-global \-fbless-SIZE \-fcompound-names
|
||||
.BI "\-fknown-extern-type="<name>
|
||||
\fB\-fnative-types \-fno-constraints \-fno-include-deps \-funnamed-unions \-ftypes88\fR
|
||||
.TP
|
||||
\fIOutput Options\fR
|
||||
.br
|
||||
|
@ -80,7 +82,17 @@ structures globally visible, but will allow you to manipulate
|
|||
.B \-fbless-SIZE
|
||||
Allow SIZE() constraint for INTEGER, ENUMERATED, and other types for which this
|
||||
constraint is normally prohibited by the standard. This is a violation of
|
||||
an ASN.1 standard and compiler may fail to produce the meaningful code.
|
||||
an ASN.1 standard and compiler may fail to produce meaningful code.
|
||||
.TP
|
||||
.B \-fcompound-names
|
||||
Using this switch prevents name collisions in the target source code
|
||||
by using complex names for target language structures. (Name collisions
|
||||
may occur if the ASN.1 module reuses the same identifiers in multiple
|
||||
contexts).
|
||||
.TP
|
||||
.BI "\-fknown-extern-type="<name>
|
||||
Pretend the specified type is known. The compiler will assume the target
|
||||
language source files for the given type are provided manually.
|
||||
.TP
|
||||
.B \-fnative-types
|
||||
Use the native machine's data types (int, double) whenever possible,
|
||||
|
@ -89,6 +101,10 @@ instead of the compound INTEGER_t, ENUMERATED_t and REAL_t types.
|
|||
.B \-fno-constraints
|
||||
Do not generate ASN.1 subtype constraint checking code. This may make a shorter executable.
|
||||
.TP
|
||||
.B \-fno-include-deps
|
||||
Do not generate courtesy #include lines for non-critical type dependencies.
|
||||
Helps prevent namespace collisions.
|
||||
.TP
|
||||
.B \-funnamed-unions
|
||||
Enable unnamed unions in the definitions of target language's structures.
|
||||
.TP
|
||||
|
|
|
@ -313,7 +313,7 @@ usage(const char *av0) {
|
|||
" -fall-defs-global Don't make the asn1_DEF_'s of structure members \"static\"\n"
|
||||
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)\n"
|
||||
" -fcompound-names Disambiguate C's struct NAME's inside top-level types\n"
|
||||
" -fknown-extern-type=<name> Pretend this type is known\n"
|
||||
" -fknown-extern-type=<name> Pretend the specified type is known\n"
|
||||
" -fnative-types Use \"long\" instead of INTEGER_t whenever possible, etc.\n"
|
||||
" -fno-constraints Do not generate constraint checking code\n"
|
||||
" -fno-include-deps Do not generate courtesy #includes for dependencies\n"
|
||||
|
|
Loading…
Reference in New Issue