I guess I'll take a break from this. I'm not sure I want to spend so much time supporting the msvc compiler. I just work on my projects for fun.
Does anyone have a reasonable explanation for 1024 not being a constant?
I asked ChatGPT about this:
MSVC expects array sizes to be constant expressions known at compile time. While the code you shared does specify chunkSize as const, it doesn’t consider this as a compile-time constant. To fix this, you can use a #define for chunkSize instead, making it a true constant for MSVC:
So I've made some changes, some progress. But now when I try this code:
And the compilation fails:
So... 1024 isn't a constant??
I guess I'll take a break from this. I'm not sure I want to spend so much time supporting the msvc compiler. I just work on my projects for fun.
Does anyone have a reasonable explanation for 1024 not being a constant?
I asked ChatGPT about this:
lol