Page MenuHomeFreeBSD

Correct check for nullptr to fix build with clang 6.
ClosedPublic

Authored by jhb on Jan 30 2018, 4:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 11:28 PM
Unknown Object (File)
Tue, Sep 8, 4:56 AM
Unknown Object (File)
Mon, Sep 7, 7:53 PM
Unknown Object (File)
Sun, Sep 6, 12:29 AM
Unknown Object (File)
Wed, Sep 2, 1:19 AM
Unknown Object (File)
Tue, Sep 1, 9:27 PM
Unknown Object (File)
Sat, Aug 29, 2:39 PM
Unknown Object (File)
Thu, Aug 27, 7:23 AM
Subscribers

Details

Summary

Check __cplusplus version to determine presence of nullptr rather than
assuming nullptr is a cpp macro.

This should probably be posted upstream as well.

Test Plan
  • build port with recent head

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14675
Build 14803: arc lint + arc unit

Event Timeline

I'll run this through my local meat grinder and approve/commit after. THANKS

This revision is now accepted and ready to land.Jan 31 2018, 4:33 PM
This revision was automatically updated to reflect the committed changes.