[Bug 222056] print/qpdf fails to build with gcc6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 4 21:07:43 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222056
Bug ID: 222056
Summary: print/qpdf fails to build with gcc6
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: jhibbits at FreeBSD.org
CC: d.y.kazarov at mail.ru
Flags: maintainer-feedback?(d.y.kazarov at mail.ru)
CC: d.y.kazarov at mail.ru
When building with gcc6, qpdf fails with the following error:
/bin/sh ./libtool --quiet --mode=compile g++6 -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc6 -fno-strict-aliasing
-Wl,-rpath=/usr/local/lib/gcc6 -Wold-style-cast -Wall -MD -MF
libqpdf/build/QUtil.tdep -MP -Iinclude -Ilibqpdf -I/usr/local/include -c
libqpdf/QUtil.cc -o libqpdf/build/QUtil.o; sed -e 's/\.o:/.lo:/' <
libqpdf/build/QUtil.tdep > libqpdf/build/QUtil.dep
libqpdf/QUtil.cc: In function 'void QUtil::setLineBuf(FILE*)':
libqpdf/QUtil.cc:233:45: error: invalid cast from type 'std::nullptr_t' to type
'char*'
setvbuf(f, reinterpret_cast<char *>(NULL), _IOLBF, 0);
^
It builds fine with lang/gcc5
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list