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

Compiler optimization issue (/Od) #8

Open
underflowerror opened this issue Apr 23, 2023 · 1 comment
Open

Compiler optimization issue (/Od) #8

underflowerror opened this issue Apr 23, 2023 · 1 comment

Comments

@underflowerror
Copy link

Hello.
First of all, thanks for creating this library it's really helpful.

Library works great with /O2 compiler flag (thats default option for a new project), but problem comes with /Od flag and /Ob1.
image
As you can see everything is fine, except fact that our original integer is shown and not even used. This issue persist in any variable type. This library works great with those flags, thing is that library supports only strings.

Thanks.

@llxiaoyuan
Copy link
Owner

Thanks for your reporting,
Optimization must be enabled, and this problem may be due to some parameter passing

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