FreeBSD Bugzilla – Attachment 211143 Details for
Bug 243681
lang/gcc10-devel: Build of 10.0.1.s20200126 fails from "reinterpret_cast from 'nullptr_t' to 'function *' is not allowed"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
patch-analyzer (text/plain), 640 bytes, created by
Gerald Pfeifer
on 2020-01-28 21:59:08 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Gerald Pfeifer
Created:
2020-01-28 21:59:08 UTC
Size:
640 bytes
patch
obsolete
>Index: gcc/analyzer/engine.cc >=================================================================== >--- gcc/analyzer/engine.cc >+++ gcc/analyzer/engine.cc >@@ -2940,7 +2940,7 @@ template <> > inline void > pod_hash_traits<function_call_string>::mark_empty (value_type &v) > { >- v.m_fun = reinterpret_cast<function *> (NULL); >+ v.m_fun = static_cast<function *> (NULL); > } > template <> > inline bool >@@ -2952,7 +2952,7 @@ template <> > inline bool > pod_hash_traits<function_call_string>::is_empty (value_type v) > { >- return v.m_fun == reinterpret_cast<function *> (NULL); >+ return v.m_fun == static_cast<function *> (NULL); > } > > namespace ana {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243681
: 211143