This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65324] -Wzero-as-null-pointer-constant: incorrect location for function templates
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Aug 2017 20:38:05 +0000
- Subject: [Bug c++/65324] -Wzero-as-null-pointer-constant: incorrect location for function templates
- Auto-submitted: auto-generated
- References: <bug-65324-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65324
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> Bug 52718 has some useful discussion about how to fix this.
I thought David had proposed some mechanism to add locations to constants. That
would fix this issue.