bug-gnu-utils
[Top][All Lists]
Advanced

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

[sharutils-4.11.1] Compilation warnings


From: Petr Písař
Subject: [sharutils-4.11.1] Compilation warnings
Date: Tue, 4 Dec 2012 13:59:20 +0100

When building shartuils-4.11.1 optimized to -O2 with GCC-4.7.2, I get these
warnings:

../lib/md5.c:117:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
../lib/md5.c:118:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
shar.c:2485:15: warning: variable ‘md’ set but not used 
[-Wunused-but-set-variable]

Following patches fixes it.

-- Petr




reply via email to

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