Le 30 janv. 2012 à 18:59, Chris Lattner a écrit : > > On Jan 30, 2012, at 8:37 AM, Nico Weber wrote: > >> Cool! >> >> One thing that this warned on in the chromium source was: >> >> ../../webkit/plugins/npapi/plugin_web_event_converter_mac.mm:213:37: >> error: format specifies type 'wchar_t *' (aka 'wchar_t *') but the > > Unrelated to the root issue, but why are we aka'ing to the same type? > > -Chris
Because the FormatString checker build the type description itself (instead of using diagnostic facility, see FormatString.cpp:374), probably to get a type that match as much as possible the type defined in printf/scanf manual, and it look like it is not smart enough to detect when the underlying type need aka, or not. -- Jean-Daniel _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
