Closed fmvin closed 10 months ago
What header(s) did you include?
The only declaration of likely
is also a definition, so this error should be impossible...
What header(s) did you include?
I do #include "blockingconcurrentqueue.h"
in MyModule.ixx
Sounds like you're using C++ modules? Can you share an example?
I'm created a one more simple test project from scratch with blockingconcurrentqueue
to present here and suddenly for me the issue is not reproduced.
I'm strongly apologize for disturbance and propose to close this issue.
Somehow my issue is related to dependency of imgui_bundle in my real project which I should investigate independently fromconcurrentqueue
.
That's good news, thanks for following up. No need to apologize! Reopen as needed.
I'm getting this error from master on Windows Server 2019 x64 and msvc CL Version 19.37.32822 (Visual Studio 2022 v. 17.7.0)
If manually to remove
static
from thelikely
function then the code successefully has been built.