[Bug bootstrap/87225] tree-vect-stmts.c:3748 error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 5 09:43:00 GMT 2018


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Shane Kerr from comment #0)
> I am curious how this build ever works at all on any system!

Because on most systems NULL is defined to 0 not std::nullptr_t and 0 can be
implicitly converted to bool.


More information about the Gcc-bugs mailing list