[Bug c++/40202] warning about passing non-POD objects through �?=...=?UTF-8?Q?� should include name and location of declaration being called

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 29 21:08:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40202

--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-09-29 20:54:46 UTC ---
(In reply to comment #4)
> Manuel, do you have an opinion about this rather old issue? In the meanwhile,
> the warning became an hard error, when it applies. Thus the original testcase
> is just accepted, and this variant:

Paolo, thanks for asking my opinion! As a user, I would appreciate an extra
inform saying where the variadic function is declared, like g++ does for other
diagnostics. But since I don't know how hard is to get that location at the
error point, and I am not volunteering to do the work...

BTW, I think it is great that you are triaging and fixing so many C++
diagnostic bugs, it was sorely needed.



More information about the Gcc-bugs mailing list