Page MenuHomeFreeBSD

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

Authored by jhb on Jan 30 2018, 4:26 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb created this revision.Jan 30 2018, 4:26 PM

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

sbruno accepted this revision.Jan 31 2018, 4:33 PM
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.