You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
dariomangoni
changed the title
bug_1315 initialize array size by (non-const) variables
bug_1315 initialize array size through (non-const) variables
Jan 11, 2023
dariomangoni
changed the title
bug_1315 initialize array size through (non-const) variables
bug_1315 and icb_arpack_c initialize array size through (non-const) variables
Jan 11, 2023
Both bug_1315_single.c and bug_1315_double.c declare an array through a non-const integer variable
N
, at line 30:const
;const
attribute.Their compilation clearly triggers a lot of errors. How can this code compile?
What am I missing?
BTW, also the icb_arpack_c.c code is affected by the same problem.
Where/how to reproduce the problem
Steps to reproduce the problem
Error message
error C2057: expected constant expression
The text was updated successfully, but these errors were encountered: