Page MenuHomeFreeBSD

Fix build of dspdfviewer on 11.1
ClosedPublic

Authored by adridg on Mar 11 2018, 1:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 1:35 AM
Unknown Object (File)
Wed, May 6, 2:43 AM
Unknown Object (File)
Thu, Apr 30, 9:44 PM
Unknown Object (File)
Thu, Apr 30, 3:54 PM
Unknown Object (File)
Apr 27 2026, 4:03 PM
Unknown Object (File)
Apr 27 2026, 3:02 PM
Unknown Object (File)
Apr 14 2026, 12:48 AM
Unknown Object (File)
Mar 21 2026, 9:29 PM
Subscribers

Details

Summary

Build fails (while testing update to CMake, unrelated) with:

../hyperlinkarea.cpp:35:18: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant]

if ( pixmap == 0 )
               ^
               nullptr

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 11 2018, 1:43 PM
graphics/dspdfviewer/files/patch-hyperlinkarea.cpp
14–15 ↗(On Diff #40163)

I think it should be == NULL. The problem it tells you is that you are comparing a pointer with an integer.

This revision was automatically updated to reflect the committed changes.