I have the table like this (CONFIG_TABLE) I am trying to initialize the char type using the map. But unable to build this in QNX : `
#define FILEPATH_SIZE 256
#define CONFIG_TABLE \
{\
{ FIRSTSOUND, {{"./resources/1A.wave"}}} \
};
struct ConfigStructure
{
char filePath[FILEPATH_SIZE];
};
static std::map<Uint16, ConfigStructure> myMap = CONFIG_TABLE
error: could not convert '{{24576, {"./resources/1A.wave"}}}' from '' to 'std::__1::map<short unsigned int, himeMgrConfigSt_t>' }; How to solve the error? is there any other wave to read it? how to initialize the char path here?