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)
Wed, Apr 24, 5:37 PM
Unknown Object (File)
Fri, Apr 19, 2:30 PM
Unknown Object (File)
Mar 9 2024, 6:48 PM
Unknown Object (File)
Feb 9 2024, 8:47 AM
Unknown Object (File)
Feb 9 2024, 8:47 AM
Unknown Object (File)
Feb 9 2024, 8:47 AM
Unknown Object (File)
Feb 8 2024, 9:35 PM
Unknown Object (File)
Jan 31 2024, 5:24 PM
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.