HomeFreeBSD

Fix the build with clang 6.0, which defaults to using -std=gnu++14.

Description

Fix the build with clang 6.0, which defaults to using -std=gnu++14.

/wrkdirs/usr/ports/graphics/digikam-kde4/work/digikam-4.14.0/core/libs/dimg/loaders/pgfloader.cpp:301:27: error: use of undeclared identifier 'NULL'
                          NULL,
                          ^
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^
/usr/local/include/libpgf/PGFplatform.h:488:20: note: expanded from macro 'nullptr'
#define nullptr                         NULL
                                        ^
/wrkdirs/usr/ports/graphics/digikam-kde4/work/digikam-4.14.0/core/libs/dimg/loaders/pgfloader.cpp:461:26: error: use of undeclared identifier 'NULL'
                         NULL,
                         ^
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^
/usr/local/include/libpgf/PGFplatform.h:488:20: note: expanded from macro 'nullptr'
#define nullptr                         NULL
                                        ^

PR: 224945

Details

Provenance
rakucoAuthored on
Parents
rP459166: multimedia/vapoursynth: update to R42.1
Branches
Unknown
Tags
Unknown