| Summary: | graphics/lprof-devel: fails to build with clang 7 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | Keywords: | needs-patch |
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(amdmi3) |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 230355 | ||
A commit references this bug: Author: amdmi3 Date: Wed Aug 29 09:16:21 UTC 2018 New revision: 478345 URL: https://svnweb.freebsd.org/changeset/ports/478345 Log: - Fix build with clang 7 PR: 230948 Reported by: jbeich Changes: head/graphics/lprof-devel/files/patch-src_lprofqt_imageitem.cpp |
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https $ poudriere testport -j clang7 graphics/lprof-devel [...] src/lprofqt/imageitem.cpp:177:69: error: ordered comparison between pointer and zero ('const void *' and 'int') int16lprof = (pixtype.contains(QString::fromLocal8Bit("INT16")) > 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ src/lprofqt/imageitem.cpp:178:69: error: ordered comparison between pointer and zero ('const void *' and 'int') int32lprof = (pixtype.contains(QString::fromLocal8Bit("INT32")) > 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ src/lprofqt/imageitem.cpp:179:69: error: ordered comparison between pointer and zero ('const void *' and 'int') uint8lprof = (pixtype.contains(QString::fromLocal8Bit("UINT8")) > 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ src/lprofqt/imageitem.cpp:180:70: error: ordered comparison between pointer and zero ('const void *' and 'int') fltpixlprof = (pixtype.contains(QString::fromLocal8Bit("FLOAT")) > 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ src/lprofqt/imageitem.cpp:181:71: error: ordered comparison between pointer and zero ('const void *' and 'int') dblpixlprof = (pixtype.contains(QString::fromLocal8Bit("DOUBLE")) > 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-26_10h16m34s/logs/errors/lprof-devel-20080514_13.log