[cfe-dev] GCC 6 Warnings

Milian Wolff via cfe-dev cfe-dev at lists.llvm.org
Thu Sep 8 13:07:44 PDT 2016


On Mittwoch, 7. September 2016 15:23:45 CEST Richard Smith via cfe-dev wrote:
> On Wed, Sep 7, 2016 at 3:17 PM, Renato Golin via cfe-dev <
> 
> cfe-dev at lists.llvm.org> wrote:
> > Clang folks,
> > 
> > FYI, I'm getting a lot of warnings from GCC 6.1.1 when building Clang...
> > 
> > Haven't had time to look closer and probably won't this week, so if
> > anyone would like to have a go... :)
> > 
> > 
> > include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on
> > template argument 'llvm::simplify_type<const clang::Stmt*
> > const>::SimpleType {aka const clang::Stmt*}' [-Wignored-attributes]
> 
> GCC seems confused. There are no attributes here. Perhaps it's confused
> because clang::Stmt itself has an alignment attribute on its definition?

I think this could be related:

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

HTH

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160908/f10d8a44/attachment.sig>


More information about the cfe-dev mailing list