<div class="gmail_quote">On Wed, Feb 8, 2012 at 4:12 PM, Matt Beaumont-Gay <span dir="ltr"><<a href="mailto:matthewbg@google.com">matthewbg@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Aaron,<br>
<br>
The documentation for the corresponding MSVC warning states:<br>
<br>
"This is legal if:<br>
* All calls to this function occur from C++.<br>
* The definition of the function is in C++."<br>
<br>
For code which triggers the new warning, but is legal per those<br>
criteria, how does one silence the warning?<br></blockquote><div><br></div><div>I'm confused, why does removing extern "C" not work? If no one calls or defines the function from C, why mangle the name that way?</div>
</div>