Re: [PATCH 01/18 V2] xfsprogs: enable sparse checking with "make C=[12]"

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

 



> -sparse and gcc using:
> +The xfsprogs Makefile has a convenient shortcut to running sparse, by setting
> +the C ("check") variable on the make commandline.  To perform generic checks,
> +
> +	make C=1
> +
> +which checks with -Wsparse-all -Wno-transparent-union -Wno-return-void
> +-Wno-undef -Wno-non-pointer-null, or to perform the bitwise checks, use
> +
> +	make C=2
> +
> +which checks with -Wbitwise -D__CHECK_ENDIAN__

Out of all the sparce checks applicable to xfsprogs endianess is by
far the most impotant one.  I don't think it makes any sense to ever
turn it off..



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux