<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - MSVC does not find strtok_r"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103621#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - MSVC does not find strtok_r"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103621">bug 103621</a>
from <span class="vcard"><a class="email" href="mailto:nae202@gmail.com" title="mr NAE <nae202@gmail.com>"> <span class="fn">mr NAE</span></a>
</span></b>
<pre>Functions in the goo\glibc.h are defined as C-function, so somewhere should be
a C-file with these functions, but the Poppler's source contains a C++ compiled
files where you declare the C-functions. That is why I used __cplusplus guards
in header - for further rename of the C++ compiled files with C-function
declarations to .c files
Other reason to use __cplusplus guards is codestyle - same sense as for
static_cast (sometimes) - ugly code for ugly design. This codestyle should help
to understand how to make the design better or warn user/coder about something
unusual.
Best regards,
Aleksey Nikolaev</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>