<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jun 11, 2012, at 9:15 PM, Richard Smith wrote:</div><blockquote type="cite"><div class="gmail_quote"><div>Do we need __LPREFIX() support for anything else? If not, it would seem a lot simpler to add support for a L__FUNCTION__, which behaves just like __FUNCTION__ but produces a wide string.</div>
</div>
</blockquote></div><div><br></div><div>MSVC also supports some other predefined expressions, like __FUNCDNAME__, __FUNCSIG__, etc, so it would be necessary to provide the wide versions of any of those. Also, though it's undocumented, there are people who know about it and use it, e.g. see [1] and [2]. Also, my hope for this patch is to increase compatibility with the MSVC headers, as well as other projects that only target Microsoft's compiler, and there's the potential for those other projects to make use of the __LPREFIX extension.</div><div><br></div><div>I agree though, it would be much simpler to add L__FUNCTION__, so I guess it's up to you where you want to set the bar. I can see the benefit of not adding a chunk of code for a somewhat esoteric feature.</div><div><br></div><div>Thanks for your time!</div><div><br></div><div>[1] <a href="http://blog.shuva.in/index.php?entry=entry080823-063456">http://blog.shuva.in/index.php?entry=entry080823-063456</a></div><div>[2] <a href="http://www.viva64.com/en/d/0008/">http://www.viva64.com/en/d/0008/</a></div></body></html>