diff options
author | Lev Walkin <vlm@lionet.info> | 2013-03-25 19:09:04 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2013-03-25 19:09:04 -0700 |
commit | 2655eb3f05f30690f1fec2ea0dce097affe4fc3a (patch) | |
tree | 77483d3df238d97430edde003e6f07ac127b5a95 /asn1c/asn1c.c | |
parent | 47189a7e8646591399e441a8a65e81e57bef3078 (diff) |
deprecate -fskeletons-copy; this option is now a default; use -flink-skeletons for old behavior
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r-- | asn1c/asn1c.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c index 330ffa22..b849a528 100644 --- a/asn1c/asn1c.c +++ b/asn1c/asn1c.c @@ -1,5 +1,5 @@ /*- - * 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); |