<div dir="ltr"><div>It provides a compile time warning AND a runtime error.</div><div>I think this is better than not compiling at all until someone provides an implementation.</div><div> </div><div>Once things compile (and we are quite close now) we can then look at how existing code runs on Windows and linker errors once we get a clean build.</div>
<div> </div><div>And it's not like the code isn't warning as a compile time. It's the best of both worlds not just one.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Oct 5, 2013 at 10:09 AM, Howard Hinnant <span dir="ltr"><<a href="mailto:howard.hinnant@gmail.com" target="_blank">howard.hinnant@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sep 21, 2013, at 4:08 PM, G M <<a href="mailto:gmisocpp@gmail.com">gmisocpp@gmail.com</a>> wrote:<br>

<br>
> Slight revision to prior chrono patch: Added _LIBCPP_NORETURN.<br>
> (Note dependant upon #warning patch presented previously).<br>
</div>> <chrono.cpp.diff>_______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br>
Question for those interested in libc++ on Windows:<br>
<br>
I generally prefer my errors to come at compile time, or at least link time, rather than run time.  This patch delays until runtime the fact that the chrono clocks are not implemented.  Is that really what the Windows porters want?  If so, I'll commit this patch.  I just wanted to ask first, as it is not what I did for Apple platforms.<br>

<span class="HOEnZb"><font color="#888888"><br>
Howard<br>
<br>
</font></span></blockquote></div><br></div>