On Wed, Feb 8, 2012 at 8:17 PM, Chandler Carruth <[email protected]> wrote: > On Wed, Feb 8, 2012 at 4:12 PM, Matt Beaumont-Gay <[email protected]> > wrote: >> >> Hi Aaron, >> >> The documentation for the corresponding MSVC warning states: >> >> "This is legal if: >> * All calls to this function occur from C++. >> * The definition of the function is in C++." >> >> For code which triggers the new warning, but is legal per those >> criteria, how does one silence the warning? > > > 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?
Or this. ;-) ~Aaron _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
