Displaying 3 results from an estimated 3 matches for "flac__memory_alloc_aligned".
2007 Apr 15
2
Patch : Fix pointer cast warning
Hi all,
The code currently in CVS gives a compile warning:
memory.c: In function 'FLAC__memory_alloc_aligned':
memory.c:52: warning: cast from pointer to integer of different size
memory.c:52: warning: cast to pointer from integer of different size
The patch below fixes this warning by detecting the sizeof (void*)
at configure time and then using that for a little pointer arithmetic.
Cheers,...
2006 Dec 19
2
Compiler warnings using gcc-4.1
Hi Josh et al,
I'm compiling on an Ubuntu Edgy x86 machine. Edgy comes standard
with gcc-4.1 and I'm getting a number of warnings:
memory.c: In function 'FLAC__memory_alloc_aligned':
memory.c:52: warning: cast from pointer to integer of different size
memory.c:52: warning: cast to pointer from integer of different size
metadata_iterators.c: In function 'read_metadata_block_data_picture_cb_':
metadata_iterators.c:2370: warning: dereferencing type-punne...
2007 Jan 02
0
Compiler warnings using gcc-4.1
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> Hi Josh et al,
>
> I'm compiling on an Ubuntu Edgy x86 machine. Edgy comes standard
> with gcc-4.1 and I'm getting a number of warnings:
>
> memory.c: In function 'FLAC__memory_alloc_aligned':
> memory.c:52: warning: cast from pointer to integer of different
> size
> memory.c:52: warning: cast to pointer from integer of different
> size
>
> metadata_iterators.c: In function
> 'read_metadata_block_data_picture_cb_':
> metadata_iterators.c...