1)I'm using the source for 2089M for add function in the game that it wrote in c, but i need to use the function for get_event_flag that need the std::string but std::string dont exist in c.
So I "rewrite" the lib
and change the header import with
extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include <stdbool.h>
#include <dlfcn.h>
#include <sys/mman.h>
#include <inttypes.h>
}
#include <string>
gcc 4.2 -->
gcc 4.8-->
Someone can help me?