Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
2655eb3f
Commit
2655eb3f
authored
Mar 25, 2013
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecate -fskeletons-copy; this option is now a default; use -flink-skeletons for old behavior
parent
47189a7e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
13 deletions
+11
-13
ChangeLog
ChangeLog
+1
-1
asn1c/asn1c.1
asn1c/asn1c.1
+1
-4
asn1c/asn1c.c
asn1c/asn1c.c
+5
-3
doc/docsrc/asn1c-usage.tex
doc/docsrc/asn1c-usage.tex
+0
-1
libasn1compiler/asn1c_save.c
libasn1compiler/asn1c_save.c
+1
-1
libasn1compiler/asn1compiler.h
libasn1compiler/asn1compiler.h
+3
-3
No files found.
ChangeLog
View file @
2655eb3f
???:
*
*
Made -fskeletons-copy a default one; removed cmdline option.
0.9.24: 2013-Mar-16
...
...
asn1c/asn1c.1
View file @
2655eb3f
...
...
@@ -26,7 +26,7 @@ and other encoding rules.
.br
\fB\-fbless-SIZE \-fcompound-names \-findirect-choice
.BI "\-fknown-extern-type="<name>
\fB\-fnative-types \-fno-constraints \-fno-include-deps \-funnamed-unions
\-fskeletons-copy
\fB\-fnative-types \-fno-constraints \-fno-include-deps \-funnamed-unions
.TP
\fICodecs Generation Options\fR
.br
...
...
@@ -111,9 +111,6 @@ Helps prevent namespace collisions.
.TP
.B \-funnamed-unions
Enable unnamed unions in the definitions of target language's structures.
.TP
.B \-fskeletons-copy
Copy support files (skeletons) rather than symlink them.
.SH CODECS GENERATION OPTIONS
.TP
.B \-gen-PER
...
...
asn1c/asn1c.c
View file @
2655eb3f
/*-
* Copyright (c) 2003, 2004, 2005, 2006
* Copyright (c) 2003, 2004, 2005, 2006
, 2013
* Lev Walkin <vlm@lionet.info>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -101,8 +101,10 @@ main(int ac, char **av) {
asn1_compiler_flags
|=
A1C_INCLUDES_QUOTED
;
}
else
if
(
strcmp
(
optarg
,
"unnamed-unions"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_UNNAMED_UNIONS
;
}
else
if
(
strcmp
(
optarg
,
"skeletons-copy"
)
==
0
)
{
// DEPRECATED
asn1_compiler_flags
|=
A1C_SKELETONS_COPY
;
}
else
if
(
strcmp
(
optarg
,
"skeletons-copy"
)
==
0
)
{
fprintf
(
stderr
,
"-f%s: Deprecated option
\n
"
,
optarg
);
}
else
if
(
strcmp
(
optarg
,
"link-skeletons"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_LINK_SKELETONS
;
}
else
{
fprintf
(
stderr
,
"-f%s: Invalid argument
\n
"
,
optarg
);
exit
(
EX_USAGE
);
...
...
doc/docsrc/asn1c-usage.tex
View file @
2655eb3f
...
...
@@ -260,7 +260,6 @@ may produce a shorter executable.}\tabularnewline
dependencies.
}
\tabularnewline
{
\small
-funnamed-unions
}
&
{
\small
Enable unnamed unions in the definitions of target language's
structures.
}
\tabularnewline
{
\small
-fskeletons-copy
}
&
{
\small
Copy support files rather than symlink them.
}
\tabularnewline
\midrule\tabularnewline
\textbf
{
\small
Codecs Generation Options
}
&
\textbf
{
\small
Description
}
\tabularnewline
\midrule
...
...
libasn1compiler/asn1c_save.c
View file @
2655eb3f
...
...
@@ -434,7 +434,7 @@ asn1c_copy_over(arg_t *arg, char *path) {
#ifdef _WIN32
int
use_real_copy
=
1
;
#else
int
use_real_copy
=
(
arg
->
flags
&
A1C_SKELETONS_COPY
);
int
use_real_copy
=
!
(
arg
->
flags
&
A1C_LINK_SKELETONS
);
#endif
fname
=
a1c_basename
(
path
);
...
...
libasn1compiler/asn1compiler.h
View file @
2655eb3f
...
...
@@ -52,10 +52,10 @@ enum asn1c_flags {
*/
A1C_INDIRECT_CHOICE
=
0x0400
,
/*
* -f
skeletons-copy
*
Copy support files rather than symlink
them.
* -f
link-skeletons
*
Symlink support files rather than copy
them.
*/
A1C_
SKELETONS_COPY
=
0x0800
,
A1C_
LINK_SKELETONS
=
0x0800
,
/*
* -gen-PER
* Generate PER support code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment