bug-gnulib
[Top][All Lists]
Advanced

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

some gcc warnings


From: Bruno Haible
Subject: some gcc warnings
Date: Sun, 16 Oct 2016 17:06:11 +0200
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

Hi Paul, Simon,

When I compile a gnulib testdir on a glibc system with "gcc -Wall", I see the
following warnings (among others):

rijndael-api-fst.c: In function 'rijndaelBlockEncrypt':
rijndael-api-fst.c:234:11: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c: In function 'rijndaelPadEncrypt':
rijndael-api-fst.c:317:11: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c: In function 'rijndaelBlockDecrypt':
rijndael-api-fst.c:390:11: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c: In function 'rijndaelPadDecrypt':
rijndael-api-fst.c:484:11: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c:484:11: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c:495:7: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
rijndael-api-fst.c:495:7: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]

test-quotearg.h:123:1: warning: 'use_quote_double_quotes' defined but not used 
[-Wunused-function]

Do you see a simple and reliable way to correct or silence these warnings?

Bruno
--
In memoriam Marie Antoinette <http://en.wikipedia.org/wiki/Marie_Antoinette>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]