Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 11:56:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225556] graphics/ufraw: fails to build with clang 6.0
Message-ID:  <bug-225556-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225556

            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@FreeBSD.org
          Reporter: KOT@MATPOCKuH.Ru
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@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=20
-I/usr/local/include/libpng16   -DDCRAW_NOMAIN
-DUFRAW_LOCALEDIR=3D\"/usr/local/share/locale\" -I/usr/local/include  -O2 -=
pipe
-march=3Dk8-sse3  -fstack-protector -fno-strict-aliasing  -MT ufraw_embedde=
d.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=3Dgnu++98 can be added to port's Makefile as workaround

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225556-13>