mouse07410 / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
93 stars 70 forks source link

Question about v1.0.0. #167

Open JSKim-Ranix opened 7 months ago

JSKim-Ranix commented 7 months ago

I have been using asn1c version 0.9.29, but this time I switched to mouse07410 master branch (v1.0.0). I have a question.

  1. I’m using the master branch, not the vlm_master branch, right?

    • I am asking because vlm_master is set to Default. There are several branches, but I don't know what each branch is (99, 115, safe_master...).
  2. When compiling, a syntax error occurs. Is there a way to avoid syntax checking?

    • Has the syntax check function been added in v1.0?? It's the same asn file, but a syntax error did not occur in v0.9.29, and a syntax error occurred while using v1.0.0, so compilation cannot proceed. It occurs in "CONSTRAINED BY", and I haven't resolved it yet. If I can't solve this problem, I would like to remove the syntax check function.

The development environment is Ubuntu 22.04.3 LTS 64bit.

Any help is appreciated! Thank you to everyone who responds.

mouse07410 commented 7 months ago

I have been using asn1c version 0.9.29, but this time I switched to mouse07410 master branch (v1.0.0). I have a question.

  1. I’m using the master branch, not the vlm_master branch, right?

Sorry, wrong. master branch of this repo has not been maintained for quite some time. The current active default branch is vlm_master.

  • I am asking because vlm_master is set to Default.

It was set as Default for a reason.

 There are several branches, but I don't know what each branch is (99, 115, safe_master...).

Ignore them all.

  1. When compiling, a syntax error occurs. Is there a way to avoid syntax checking?

I've no idea what's wrong or different about your system - but I've been compiling this code (vlm_master) on Linux and MacOS without any problems. And so does GitHub CI.

  • Has the syntax check function been added in v1.0??

I don't understand what "syntax check" means in this context.

 It's the same asn file, but a syntax error did not occur in v0.9.29, and a syntax error occurred while using v1.0.0,
 so compilation cannot proceed. It occurs in "CONSTRAINED BY", and I haven't resolved it yet.

Can you try different compiler(s)?

 If I can't solve this problem, I would like to remove the syntax check function.

Well, it's an open source - you can apply any change you wish.

The development environment is Ubuntu 22.04.3 LTS 64bit. Any help is appreciated! Thank you to everyone who responds.