[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Henrik Bach
henrik_bach_llvm at hotmail.com
Sun Jul 4 03:24:02 PDT 2004
>From: Misha Brukman <brukman at uiuc.edu>
>Date: Sat, 3 Jul 2004 19:33:12 -0500
>Well, the patch adds #include <cstring> to CommandLine.cpp, so you
>should try the patch first. If it does not work, then the Interix SDK
><cstring> is not a fully complete substitue for <string.h>, which it
>should be, then you may have to manually try changing the <cstring> to
><string.h> and go from there.
>
>If that is the case, you may encounter other problems elsewhere in the
>source code that may also require <string.h> in place of <cstring> ...
Thanx for the advices. I'll try to do that.
/Henrik
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger
More information about the llvm-dev
mailing list