Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2017 21:07:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222056] print/qpdf fails to build with gcc6
Message-ID:  <bug-222056-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jhibbits@FreeBSD.org
                CC: d.y.kazarov@mail.ru
             Flags: maintainer-feedback?(d.y.kazarov@mail.ru)
                CC: d.y.kazarov@mail.ru

When building with gcc6, qpdf fails with the following error:

/bin/sh ./libtool --quiet --mode=3Dcompile g++6 -O2 -pipe
-Wl,-rpath=3D/usr/local/lib/gcc6 -fno-strict-aliasing=20
-Wl,-rpath=3D/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

--=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-222056-13>