| Summary: | dev-qt/qtsvg-5.4.2 fails to compile (PREMUL was not declared in this scope) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Johann Schmitz (ercpe) (RETIRED) <ercpe> |
| Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
build.log |
||
Created attachment 424052 [details]
emerge --info
Created attachment 424054 [details]
build.log
The commit which changes the PREMUL macro to qPremultiply: https://github.com/qtproject/qtsvg/commit/b725b5fd9158d95f3693a06425924271ee4b4239 *** This bug has been marked as a duplicate of bug 564920 *** |
Compilation failes with: qsvggenerator.cpp:258:66: error: ‘PREMUL’ was not declared in this scope QRgb fromColor = PREMUL(stops.at(0).second.rgba()); ^ qsvggenerator.cpp:268:134: error: ‘INV_PREMUL’ was not declared in this scope QRgb color = INV_PREMUL(INTERPOLATE_PIXEL_256(fromColor, 256 - 256 * j / parts, toColor, 256 * j / parts)); Reproducible: Always