Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gaoridong
asn1c
Commits
7c65512e
Commit
7c65512e
authored
19 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
updated manual page
parent
ec1585d0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
asn1c/asn1c.1
+18
-2
18 additions, 2 deletions
asn1c/asn1c.1
asn1c/asn1c.c
+1
-1
1 addition, 1 deletion
asn1c/asn1c.c
with
19 additions
and
3 deletions
asn1c/asn1c.1
+
18
−
2
View file @
7c65512e
...
@@ -23,7 +23,9 @@ and other encoding standards.
...
@@ -23,7 +23,9 @@ and other encoding standards.
.TP
.TP
\fILanguage Options\fR
\fILanguage Options\fR
.br
.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
.TP
\fIOutput Options\fR
\fIOutput Options\fR
.br
.br
...
@@ -80,7 +82,17 @@ structures globally visible, but will allow you to manipulate
...
@@ -80,7 +82,17 @@ structures globally visible, but will allow you to manipulate
.B \-fbless-SIZE
.B \-fbless-SIZE
Allow SIZE() constraint for INTEGER, ENUMERATED, and other types for which this
Allow SIZE() constraint for INTEGER, ENUMERATED, and other types for which this
constraint is normally prohibited by the standard. This is a violation of
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
.TP
.B \-fnative-types
.B \-fnative-types
Use the native machine's data types (int, double) whenever possible,
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.
...
@@ -89,6 +101,10 @@ instead of the compound INTEGER_t, ENUMERATED_t and REAL_t types.
.B \-fno-constraints
.B \-fno-constraints
Do not generate ASN.1 subtype constraint checking code. This may make a shorter executable.
Do not generate ASN.1 subtype constraint checking code. This may make a shorter executable.
.TP
.TP
.B \-fno-include-deps
Do not generate courtesy #include lines for non-critical type dependencies.
Helps prevent namespace collisions.
.TP
.B \-funnamed-unions
.B \-funnamed-unions
Enable unnamed unions in the definitions of target language's structures.
Enable unnamed unions in the definitions of target language's structures.
.TP
.TP
...
...
This diff is collapsed.
Click to expand it.
asn1c/asn1c.c
+
1
−
1
View file @
7c65512e
...
@@ -313,7 +313,7 @@ usage(const char *av0) {
...
@@ -313,7 +313,7 @@ usage(const char *av0) {
" -fall-defs-global Don't make the asn1_DEF_'s of structure members
\"
static
\"\n
"
" -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
"
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)
\n
"
" -fcompound-names Disambiguate C's struct NAME's inside top-level types
\n
"
" -fcompound-names Disambiguate C's struct NAME's inside top-level types
\n
"
" -fknown-extern-type=<name> Pretend th
is
type is known
\n
"
" -fknown-extern-type=<name> Pretend th
e specified
type is known
\n
"
" -fnative-types Use
\"
long
\"
instead of INTEGER_t whenever possible, etc.
\n
"
" -fnative-types Use
\"
long
\"
instead of INTEGER_t whenever possible, etc.
\n
"
" -fno-constraints Do not generate constraint checking code
\n
"
" -fno-constraints Do not generate constraint checking code
\n
"
" -fno-include-deps Do not generate courtesy #includes for dependencies
\n
"
" -fno-include-deps Do not generate courtesy #includes for dependencies
\n
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment