[Poppler-bugs] [Bug 103621] MSVC does not find strtok_r
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 17 00:31:30 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103621
--- Comment #11 from Jean Ghali <jghali at libertysurf.fr> ---
(In reply to Adrian Johnson from comment #7)
> I like Jean Ghali's suggestion of renaming glibc*.cc to .c I did a test
> build with this change (and removed the extern "C") and it built fine.
>
> The glibc.cc stuff is meant to be emulations of C functions so it makes
> sense to build it as C code.
If glic.cc is renamed to .c, removing the extern "C" in glibc.h will not work.
In this case, the __cplusplus guard becomes required in glibc.h as glibc.h gets
then included in C and C++ code.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171117/02ed4a9c/attachment.html>
More information about the Poppler-bugs
mailing list