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)
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
Unknown Object (File)
Dec 20 2023, 3:07 AM
Unknown Object (File)
Nov 30 2023, 10:14 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
Lint Not Applicable
Unit
Tests Not Applicable

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.