Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error with long long integers #3

Closed
cc9cii opened this issue Aug 2, 2019 · 3 comments
Closed

compile error with long long integers #3

cc9cii opened this issue Aug 2, 2019 · 3 comments

Comments

@cc9cii
Copy link

cc9cii commented Aug 2, 2019

Hello, I don't know for sure if this is an issue so apologies in advance in case this is an user error. I'm evaluating various ASN.1 projects currently. While trying out your compiler with a sample from my client I get an error with this line:

Integer64 ::= INTEGER (-9223372036854775808..9223372036854775807)

The error message from the compiler is:

Compilation error: stoll argument out of range

I'm using MSVC 15.9.14 (latest Community 2017)

@Samuel-Tyler
Copy link
Owner

Hi!

Thanks for your interest. I believe this is likely an issue as the full range of 64 bit ints should be supported.

Could you send me an ASN.1 file, so I can determine whether it would likely work with this compiler?

Thanks,
Sam

@cc9cii
Copy link
Author

cc9cii commented Aug 9, 2019

Sorry, the file contents can't be shared since it is under an NDA. However, for testing, any asn.1 file can be modified to include a tag of above type Integer64.

@Samuel-Tyler
Copy link
Owner

Samuel-Tyler commented Aug 11, 2019

I've resolved parsing of int min on the devel branch.

Thanks for your bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants