[poppler] strdup not declared (Windows with MinGW)
Albert Astals Cid
aacid at kde.org
Sun Oct 17 03:30:06 PDT 2010
A Diumenge, 17 d'octubre de 2010, Vincent Torri va escriure:
> something rather strange: with poppler 0.14, on Windows with MSYS/MinGW, i
> Annot.cc:3936:62: error: 'strdup' was not declared in this scope. I tried
> also with _strdup (as it's what is actually declared in Microsoft
> headers). No success too.
> Does someone have an idea ?
Try removing the -ansi flags, i think mingw doesn't export strdup whith the -
ansi flag for some reason (i think it's their bug and not ours).
> Vincent Torri
> poppler mailing list
> poppler at lists.freedesktop.org
More information about the poppler