[Bug c++/65324] -Wzero-as-null-pointer-constant: incorrect location for function templates

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 5 20:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65324

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Weird, I thought we already had this in Bugzilla, where I explained that it
doesn't particularly have to do with this warning, eg,

template <typename T>
void fun(T, signed char = 1000.0) {}

int main()
{
  fun(0);
}

Can you please check?



More information about the Gcc-bugs mailing list