On Tue, Oct 10, 2023 at 11:59 AM Neal Gompa <ngomp...@gmail.com> wrote:

> Hey all,
>
> Recently, one of the folks working on packaging stuff in Fedora KDE
> nearly missed an issue caused by GCC emitting a warning about missing
> include dirs:
>
> > cc1plus: warning: /usr/include/qt6/QtCore/6.5.3: No such file or
> directory [-Wmissing-include-dirs]
> > cc1plus: warning: /usr/include/qt6/QtCore/6.5.3/QtCore: No such file or
> directory [-Wmissing-include-dirs]
>
> I did manage to figure out this meant we needed an additional build
> dependency (qt6-qtbase-private-devel, FYI), but it made me think if
> there's a reason this shouldn't be an error.
>
> If it's an error, then at least we can evaluate these things and
> ensure we have the right build inputs...
>

Missing an include directory isn't necessarily the problem though, it is
the missing headers that aren't present when they are included that would
be - and that should trigger a build error for the missing file. What
advantage does failing on this warning provide that the failure on the
include file missing doesn't?

-Ian


>
> What do y'all think?
>
> --
> 真実はいつも一つ!/ Always, there's only one truth!
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to