gjournal.c type punning problem

Ruslan Ermilov ru at freebsd.org
Wed Nov 1 10:58:04 UTC 2006


On Tue, Oct 31, 2006 at 03:35:14PM -0800, Steve Kargl wrote:
> cc -O2 -pipe -march=opteron -I/usr/src/sbin/fsck_ffs -DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/fsck_ffs/gjournal.c
> /usr/src/sbin/fsck_ffs/gjournal.c: In function `gjournal_check':
> /usr/src/sbin/fsck_ffs/gjournal.c:717: warning: dereferencing type-punned pointer will break strict-aliasing rules
> *** Error code 1
> 
Should be fixed.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20061101/6c387f5e/attachment.pgp


More information about the freebsd-current mailing list