pplux/px

Compile error

PabloPicose opened this issue · 4 comments

I cant compile with the .bat. I am using 2014 VS with C++14 support
'px_sched::ObjectPool<px_sched::Scheduler::Task>::D::state': is not a type name, static, or enumerator

Same with 2017 & 2019 VS versions

It continues, except if I disable PX_SCHED_CACHE_LINE_SIZE

Only with this should work...

#define PX_SCHED_IMPLEMENTATION 1

#include <px_sched.h>

imagen
imagen

imagen

pplux commented

Ummm... Thanks for reporting it! I have to update a couple of things, will do also check for that.

pplux commented

Clossing issue, since I can not reproduce it anymore. Looks like sometimes VS updates can break things around, but right now works properly as far as I can see. Feel free to reopen if still doesn't work for you :)