Kevin Kofler via devel wrote:

> Miro Hrončok wrote:
>> kdelibs
>> kdelibs3
> 
> So they both hit this error:
> 
> /usr/include/jasper/jas_log.h:122:46: error: expected primary-expression
> before 'int'
>   122 | static inline jas_logtype_t jas_logtype_init(int class, int
>   priority)
>       |                                              ^~~
> /usr/include/jasper/jas_log.h:122:57: error: expected primary-expression
> before 'int'
>   122 | static inline jas_logtype_t jas_logtype_init(int class, int
>   priority)
>       |                                                         ^~~
> /usr/include/jasper/jas_log.h:122:69: error: expression list treated as
> compound expression in initializer [-fpermissive]
>   122 | static inline jas_logtype_t jas_logtype_init(int class, int
>   priority)
>       |                                                                     
^
> 
> which appears to be due to something defining jas_logtype_init both as a
> macro and as an inline function. The macro makes the inline definition
> fail to parse.

Since Qt 5, the code has moved to Qt and is now in qt5-qtimageformats and 
qt6-imageformats. And in fact, qt6-imageformats hits the same error. 
qt5-qtimageformats, which builds using QMake rather than CMake, fails to 
detect the new Japer entirely, possibly because it tries to build a test 
file against it and fails with the same error. That would have to be 
investigated more closely.

        Kevin Kofler
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to