When I include both STL and Wormhole headers I get the following compilation error.
c:/MoSync/include/newlib/malloc.h:39: error: declaration of C function `void* malloc(size_t)' conflicts with c:/MoSync/include/maheap.h:56: error: previous declaration `void* malloc(int)' here
c:/MoSync/include/newlib/malloc.h:55: error: declaration of C function `void* realloc(void*, size_t)' conflicts with c:/MoSync/include/maheap.h:92: error: previous declaration `void* realloc(void*, int)' here
c:/MoSync/include/newlib/malloc.h:63: error: declaration of C function `void* calloc(size_t, size_t)' conflicts with c:/MoSync/include/maheap.h:69: error: previous declaration `void* calloc(int, int)' here
My test source file looks like this:
#include <string> #include <Wormhole/WebViewMessage.h>
Is this a known issue?
Thanks!
Narek