Re: apiextractor FTBFS troubleshooting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mamoru TASAKA wrote on 2019/02/27 2:29:
Richard Shaw wrote on 2019/02/27 2:23:
On Tue, Feb 26, 2019 at 11:17 AM Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx>
wrote:

So... I guess Qt "foreach" behavior changed with gcc9..


Is there any chance this will change or magically get fixed if qt is
rebuilt with gcc 9?

Thanks,
Richard


Well, foreach or Q_FOREACH is just a "#define" macro (from /usr/include/Qt/qglobal.h and
/usr/include/QtCore/qglobal.h), so rebuilding qt(4) itself does not sense.


So now I tried to change all "foreach(... , ...)" usage with "for(... : ...)",
actually it seems okay??

https://koji.fedoraproject.org/koji/taskinfo?taskID=33067948

What I did is:

LANG=C grep -rl 'foreach.*,' . | \
	xargs sed -i -e '\@foreach.*,@s|foreach\(.*\),|for\1:|'

So now I appreciate it if someone would investigate Q_FOREACH macro.

Regards,
Mamoru

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux