https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100570

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-02-07

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to fsmoke from comment #2)
> minimal example to reproduce BUG:

That's not preprocessed source, so isn't sufficient to reproduce anything (we
would also need all the same Qt headers installed in the same paths as on your
machine).

I think Patrick is right, this is just user error. <QVariant> is being found
from this include:

-I /usr/local/include/qt5/QtCore

That's not a system include directory, because you didn't use -isystem

Change -I to -isystem and it should work.

Reply via email to