Hi
I'm hitting the following error (and other similar ones) with this qt-creator build [1] on armv7hl and armv7hl only:
/usr/include/clang/AST/Type.h: In member function 'clang::QualType clang::TypeSourceInfo::getType() const': /usr/include/clang/AST/Type.h:6238:37: error: invalid use of non-static data member 'clang::TypeSourceInfo::Ty' 6238 | QualType getType() const { return Ty; }
where /usr/include/clang/AST/Type.h contains:
6227: class alignas(8) TypeSourceInfo { 6228: // Contains a memory block after the class, used for type source information, 6229: // allocated by ASTContext. 6230: friend class ASTContext; 6231: 6232: QualType Ty; 6233: 6234: TypeSourceInfo(QualType ty) : Ty(ty) {} 6235: 6236: public: 6237: /// Return the type wrapped by this type source info. 6238: QualType getType() const { return Ty; } 6239: 6240: /// Return the TypeLoc wrapper for the type source info. 6241: TypeLoc getTypeLoc() const; // implemented in TypeLoc.h 6242: 6243: /// Override the type stored in this TypeSourceInfo. Use with caution! 6244: void overrideType(QualType T) { Ty = T; } 6245: };
I read this error as if gcc thinks that clang::TypeSourceInfo::getType() const is static?
Thanks Sandro
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=44206617
On Fri, May 08, 2020 at 11:54:07AM +0200, Sandro Mani wrote:
Hi
I'm hitting the following error (and other similar ones) with this qt-creator build [1] on armv7hl and armv7hl only:
Code snippets like that aren't useful for analyzing what's going on, as they can't be compiled. Please send (off-list) full preprocessed source and g++ command line used to compile that TU.
Thanks.
Jakub
Hi
I couldn't reproduce the issue anymore, so I suppose it was some transient issue.
Thanks Sandro
On 08.05.20 12:04, Jakub Jelinek wrote:
On Fri, May 08, 2020 at 11:54:07AM +0200, Sandro Mani wrote:
Hi
I'm hitting the following error (and other similar ones) with this qt-creator build [1] on armv7hl and armv7hl only:
Code snippets like that aren't useful for analyzing what's going on, as they can't be compiled. Please send (off-list) full preprocessed source and g++ command line used to compile that TU.
Thanks.
Jakub _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@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