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
F163394561: D14131.id.diff
Wed, Jul 22, 7:58 PM
Unknown Object (File)
Tue, Jul 21, 11:56 AM
Unknown Object (File)
Sat, Jul 18, 3:19 AM
Unknown Object (File)
Fri, Jul 10, 4:33 PM
Unknown Object (File)
Thu, Jul 9, 6:15 AM
Unknown Object (File)
Sat, Jul 4, 11:37 AM
Unknown Object (File)
Fri, Jul 3, 12:34 PM
Unknown Object (File)
Fri, Jul 3, 8:00 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.