<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#c11">Comment # 11</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:jghali@libertysurf.fr" title="Jean Ghali <jghali@libertysurf.fr>"> <span class="fn">Jean Ghali</span></a>
</span></b>
<pre>(In reply to Adrian Johnson from <a href="show_bug.cgi?id=103621#c7">comment #7</a>)
<span class="quote">> 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.</span >
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.</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>