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
qwebaby3
asn1c
Commits
4e940a04
Commit
4e940a04
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
-fno-constraints
parent
154aa18d
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
asn1c/asn1c.1
+4
-1
4 additions, 1 deletion
asn1c/asn1c.1
asn1c/asn1c.c
+3
-0
3 additions, 0 deletions
asn1c/asn1c.c
doc/asn1c-usage.lyx
+20
-1
20 additions, 1 deletion
doc/asn1c-usage.lyx
doc/asn1c-usage.pdf
+0
-0
0 additions, 0 deletions
doc/asn1c-usage.pdf
with
27 additions
and
2 deletions
asn1c/asn1c.1
+
4
−
1
View file @
4e940a04
...
@@ -22,7 +22,7 @@ and other encoding standards.
...
@@ -22,7 +22,7 @@ and other encoding standards.
.TP
.TP
\fILanguage Options\fR
\fILanguage Options\fR
.br
.br
\fB\-fall-defs-global \-fbless-SIZE \-fnative-types \-funnamed-unions \-ftypes88\fR
\fB\-fall-defs-global \-fbless-SIZE \-fnative-types
\-fno-constraints
\-funnamed-unions \-ftypes88\fR
.TP
.TP
\fIOutput Options\fR
\fIOutput Options\fR
.br
.br
...
@@ -82,6 +82,9 @@ an ASN.1 standard and compiler may fail to produce the meaningful code.
...
@@ -82,6 +82,9 @@ an ASN.1 standard and compiler may fail to produce the meaningful code.
Use the native machine's data types (int, double) whenever possible,
Use the native machine's data types (int, double) whenever possible,
instead of the compound ASN.1 INTEGER_t, ENUMERATED_t and REAL_t types.
instead of the compound ASN.1 INTEGER_t, ENUMERATED_t and REAL_t types.
.TP
.TP
.B \-fno-constraints
Do not generate ASN.1 subtype constraint checking code. This may make a shorter executable.
.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
+
3
−
0
View file @
4e940a04
...
@@ -91,6 +91,8 @@ main(int ac, char **av) {
...
@@ -91,6 +91,8 @@ main(int ac, char **av) {
asn1_compiler_flags
|=
A1C_USE_NATIVE_TYPES
;
asn1_compiler_flags
|=
A1C_USE_NATIVE_TYPES
;
}
else
if
(
strcmp
(
optarg
,
"native-types"
)
==
0
)
{
}
else
if
(
strcmp
(
optarg
,
"native-types"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_USE_NATIVE_TYPES
;
asn1_compiler_flags
|=
A1C_USE_NATIVE_TYPES
;
}
else
if
(
strcmp
(
optarg
,
"no-constraints"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_NO_CONSTRAINTS
;
}
else
if
(
strcmp
(
optarg
,
"unnamed-unions"
)
==
0
)
{
}
else
if
(
strcmp
(
optarg
,
"unnamed-unions"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_UNNAMED_UNIONS
;
asn1_compiler_flags
|=
A1C_UNNAMED_UNIONS
;
}
else
if
(
strcmp
(
optarg
,
"types88"
)
==
0
)
{
}
else
if
(
strcmp
(
optarg
,
"types88"
)
==
0
)
{
...
@@ -309,6 +311,7 @@ usage(const char *av0) {
...
@@ -309,6 +311,7 @@ usage(const char *av0) {
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)
\n
"
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)
\n
"
" -fknown-extern-type=<name> Pretend this type is known
\n
"
" -fknown-extern-type=<name> Pretend this type is known
\n
"
" -fnative-types Use
\"
int
\"
instead of INTEGER_t whenever possible
\n
"
" -fnative-types Use
\"
int
\"
instead of INTEGER_t whenever possible
\n
"
" -fno-constraints Do not generate constraint checking code
\n
"
" -funnamed-unions Enable unnamed unions in structures
\n
"
" -funnamed-unions Enable unnamed unions in structures
\n
"
" -ftypes88 Use only ASN.1:1988 embedded types
\n
"
" -ftypes88 Use only ASN.1:1988 embedded types
\n
"
"
\n
"
"
\n
"
...
...
This diff is collapsed.
Click to expand it.
doc/asn1c-usage.lyx
+
20
−
1
View file @
4e940a04
...
@@ -1315,7 +1315,7 @@ collapsed false
...
@@ -1315,7 +1315,7 @@ collapsed false
\begin_inset Tabular
\begin_inset Tabular
<lyxtabular version="3" rows="2
0
" columns="2">
<lyxtabular version="3" rows="2
1
" columns="2">
<features>
<features>
<column alignment="left" valignment="top" leftline="true" width="0">
<column alignment="left" valignment="top" leftline="true" width="0">
<column alignment="block" valignment="top" leftline="true" rightline="true" width="3in">
<column alignment="block" valignment="top" leftline="true" rightline="true" width="3in">
...
@@ -1646,6 +1646,25 @@ Use the native machine's data types (int, double) whenever possible, instead
...
@@ -1646,6 +1646,25 @@ Use the native machine's data types (int, double) whenever possible, instead
\layout Standard
\layout Standard
-fno-constraints
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Do not generate ASN.1 subtype constraint checking code.
This may make a shorter executable.
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
-funnamed-unions
-funnamed-unions
\end_inset
\end_inset
</cell>
</cell>
...
...
This diff is collapsed.
Click to expand it.
doc/asn1c-usage.pdf
+
0
−
0
View file @
4e940a04
No preview for this file type
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