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

ISO C++ forbids variable length array #452

Closed
cyrilbouvier opened this issue Apr 3, 2020 · 0 comments
Closed

ISO C++ forbids variable length array #452

cyrilbouvier opened this issue Apr 3, 2020 · 0 comments

Comments

@cyrilbouvier
Copy link
Contributor

Variable length array are forbidden by C++ standard (but not new C standard which is why gcc/g++ allows it).
But this is not the case of all compilers and line 50 of file src/combinatorial/ibex_QInter.cpp

int size[n];

can trigger an error.

benEnsta added a commit to benEnsta/ibex-lib that referenced this issue Apr 3, 2020
benEnsta added a commit to benEnsta/ibex-lib that referenced this issue Apr 3, 2020
Add appveyor exmaple script with cmake
benEnsta added a commit to benEnsta/ibex-lib that referenced this issue Apr 5, 2020
Add appveyor exmaple script with cmake
cyrilbouvier added a commit that referenced this issue Apr 21, 2020
[fix] fix-#452 compilation issue on appveyor with msvc (#368)
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

1 participant