QStrings
Posted: Sat Sep 20, 2014 7:23 pm
I have copied /py/* into my C++ project.
I get a preprocessor error in QStr.h:
Could someone explain what is happening? It looks as though different QStrings are needed for different platforms. But why?
What would be the best way to address this?
π
I get a preprocessor error in QStr.h:
Code: Select all
enum {
MP_QSTR_NULL = 0, // indicates invalid/no qstr
MP_QSTR_ = 1, // the empty qstr
#define Q(id, str) MP_QSTR_##id,
#include "genhdr/qstrdefs.generated.h" <-- here
#undef Q
MP_QSTR_number_of,
};
What would be the best way to address this?
π