[Bug 224945] Ports maintained by kde@ broken by Clang 6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 16 13:27:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224945

--- Comment #34 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Tue Jan 16 13:26:44 UTC 2018
New revision: 459167
URL: https://svnweb.freebsd.org/changeset/ports/459167

Log:
  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

Changes:
  head/graphics/digikam-kde4/files/patch-libs_dimg_loaders_pgfloader.cpp

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the kde-freebsd mailing list