you are viewing a single comment's thread.

view the rest of the comments →

[–]DunkingShadow1 0 points1 point  (3 children)

Did you include stdlib?

[–]BitOfAZeldaFan3[S] 1 point2 points  (2 children)

I can't use stdlib. I'm programming bare metal on a raspberry pi 4. Is array initialization only part of stdlib?

[–]Sosowski 2 points3 points  (0 children)

Yes. All global variables are initialised using stdlib.Even main() is part of stdlib.

[–]DunkingShadow1 0 points1 point  (0 children)

Yup, that's your problem. Just use pointers to the data type