I removed the reference to #include <string.h> which you added to bring in strdup(). On my machine it does not actually provide a prototype for strdup(). Strange, eh? And even if I include the prototype by hand, I still had to manually link with libstdc++ to get the function definition. So instead I just wrote wes_strdup() and I use that instead.
I removed the reference to #include <string.h> which you added to bring in
strdup(). On my machine it does not actually provide a prototype for
strdup(). Strange, eh? And even if I include the prototype by hand, I
still had to manually link with libstdc++ to get the function definition.
So instead I just wrote wes_strdup() and I use that instead.


angavrilov/olmar,angavrilov/olmar,angavrilov/olmar,angavrilov/olmar