[Bug 225556] graphics/ufraw: fails to build with clang 6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 30 11:56:18 UTC 2018


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

            Bug ID: 225556
           Summary: graphics/ufraw: fails to build with clang 6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo at FreeBSD.org
          Reporter: KOT at MATPOCKuH.Ru
          Assignee: rodrigo at FreeBSD.org
             Flags: maintainer-feedback?(rodrigo at FreeBSD.org)

graphics/ufraw fails to on fresh HEAD with clang 6.0 with error message:
invalid suffix on literal; C++11 requires a space between literal and
identifier

[some output skipped]
dcraw.cccc -DHAVE_CONFIG_H -I.  -I/usr/local/include  -I/usr/local/include
-I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/libdrm -I/usr/local/include/harfbuzz
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE
-pthread  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread  -I/usr/local/include  -I/usr/local/include
-I/usr/local/include/lensfun -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include  -I/usr/local/include 
-I/usr/local/include/libpng16   -DDCRAW_NOMAIN
-DUFRAW_LOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include  -O2 -pipe
-march=k8-sse3  -fstack-protector -fno-strict-aliasing  -MT ufraw_embedded.o
-MD -MP -MF .deps/ufraw_embedded.Tpo -c -o ufraw_embedded.o ufraw_embedded.c
:10076:30: error: invalid suffix on literal; C++11 requires a space
      between literal and identifier [-Wreserved-user-defined-literal]
  strcpy (th->soft, "dcraw v"DCRAW_VERSION);

USE_CXXSTD=gnu++98 can be added to port's Makefile as workaround

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


More information about the freebsd-ports-bugs mailing list