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

expression must have constant value line 875 #15

Closed
BCA-developer opened this issue May 6, 2020 · 3 comments
Closed

expression must have constant value line 875 #15

BCA-developer opened this issue May 6, 2020 · 3 comments

Comments

@BCA-developer
Copy link

Hi there,

I recently downloaded the the code and implement it in my project. When I go to compile it I get a "expression must have a constant value on line 875. the code is "char path[klen + 1]. klen is declared as an int on line 870

I have not modified the code in anyway

Any suggestions?

@BCA-developer
Copy link
Author

also this is within the merge define area

@cpq
Copy link
Member

cpq commented May 11, 2020

What compiler are you using?

@cpq
Copy link
Member

cpq commented Aug 19, 2020

You can -D_MSC_VER=1500 to hit the right define.

@cpq cpq closed this as completed Aug 19, 2020
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