<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>After some wrangling, I've managed to get libcxx running, linking against the MSVC 6.0 runtime library (yes... from 1998).  Right now, libcxx only supports MSVC 14.0 (2015) and above, presumably because the standard library did not have complete C99 support.  I'd like to possibly contribute these changes, but I have a couple of questions.</div><div><br></div><div>1. Would there be any interest in these patches, and would there be any chance of getting them merged since it would not be standards-compliant (due to missing C99+ functions in the runtime)?</div><div>2. If so, what would be the proper way of handling the missing functions?  Right now, I have solved the missing function declarations by declaring them in a "shim" header I created outside libcxx.  Obviously, that's a less than ideal solution.  Instead, would wrapping the missing functions with a preprocessor <span style="font-family:monospace,monospace">if </span>be acceptable?  This would break standards compatibility when targeting MSVC 13.0 and below.  Here's an example:</div><div><br></div><div><span style="font-family:monospace,monospace">#ifndef _LIBCPP_VCRUNTIME_NO_C11<br>using ::vfscanf;<br>using ::vsscanf;<br>#endif</span></div><div><br></div><div>Thanks.<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Brendan Heinonen</b></div><div><b></b></div><div>H6N Technologies, LLC</div><div><a href="mailto:brendan@heinonen.co" target="_blank">brendan@heinonen.co</a><br></div><div><b></b></div></div></div></div></div></div></div></div>