Closed JPewterschmidt closed 10 months ago
It's quiet easy to cause a error which the compiler would complain that
error: expected unqualified-id before numeric constant 343 | static const size_t BLOCK_SIZE = 32;
Would you please rename those numeric constant into whatever not like macros? Although I can write #undef BLOCK_SIZE before include the header of ConcurrentQueue to solve the problem.
#undef BLOCK_SIZE
ConcurrentQueue
I can submit a PR if you'd like
Yes, this is unfortunate. However, as I've explained previously, I cannot change this name without breaking the API.
It's quiet easy to cause a error which the compiler would complain that
Would you please rename those numeric constant into whatever not like macros? Although I can write
#undef BLOCK_SIZE
before include the header ofConcurrentQueue
to solve the problem.