[flac-dev] flac 1.3.0pre3 pre-release
Martijn van Beurden
mvanb1 at gmail.com
Thu Apr 4 23:25:10 PDT 2013
On 01-04-13 12:40, Erik de Castro Lopo wrote:
> I've tested this on
>
> x86_64-linux
> powerpc-linux
> i386-openbsd5.2
> i386-freebsd9
I've tested this on x86_64-linux as well, but still no static building
possible (see earlier post on this). Someone over at HydrogenAudio has
successfully built statically linked, but gets all weird kinds of errors
in the resulting binary
(http://www.hydrogenaudio.org/forums/index.php?s=ea13ae7a727c13c54a98c9230a7cbc67&showtopic=99757&view=findpost&p=830074)
I've built it on "armv6l-unknown-linux-gnueabihf" (which is Raspbian) as
well, all tests passed, but I get a few warnings that don't show up on
my amd64 build. I've included them below, I don't know what they mean
exactly, but probably someone knows what to do with this? These show up
with both plain ./configure as well as with --enable-static
> CC grabbag/cuesheet.lo
> grabbag/cuesheet.c: In function 'grabbag__cuesheet_emit':
> grabbag/cuesheet.c:645:47: warning: declaration of 'index' shadows a
> global declaration [-Wshadow]
> [...]
> CC
> replaygain_synthesis/replaygain_synthesis_libreplaygain_synthesis_la-replaygain_synthesis.lo
> replaygain_synthesis/replaygain_synthesis.c: In function
> 'FLAC__replaygain_synthesis__init_dither_context':
> replaygain_synthesis/replaygain_synthesis.c:212:6: warning:
> declaration of 'index' shadows a global declaration [-Wshadow]
> [...]
> CC md5.lo
> md5.c: In function 'format_input_':
> md5.c:282:25: warning: cast increases required alignment of target
> type [-Wcast-align]
> md5.c:288:24: warning: cast increases required alignment of target
> type [-Wcast-align]
> CC memory.lo
> CC metadata_iterators.lo
> metadata_iterators.c: In function
> 'write_metadata_block_data_cuesheet_cb_':
> metadata_iterators.c:2714:41: warning: declaration of 'index' shadows
> a global declaration [-Wshadow]
> CC metadata_object.lo
> metadata_object.c: In function
> 'FLAC__metadata_object_vorbiscomment_replace_comment':
> metadata_object.c:1275:13: warning: declaration of 'index' shadows a
> global declaration [-Wshadow]
> metadata_object.c: In function
> 'FLAC__metadata_object_cuesheet_track_insert_index':
> metadata_object.c:1516:177: warning: declaration of 'index' shadows a
> global declaration [-Wshadow]
> metadata_object.c: In function
> 'FLAC__metadata_object_cuesheet_track_insert_blank_index':
> metadata_object.c:1540:38: warning: declaration of 'index' shadows a
> global declaration [-Wshadow]
> CC stream_decoder.lo
> stream_decoder.c: In function 'read_metadata_cuesheet_':
> stream_decoder.c:1808:43: warning: declaration of 'index' shadows a
> global declaration [-Wshadow]
> CC stream_encoder.lo
> CC stream_encoder_framing.lo
> stream_encoder_framing.c: In function 'FLAC__add_metadata_block':
> stream_encoder_framing.c:164:49: warning: declaration of 'index'
> shadows a global declaration [-Wshadow]
> [...]
> CC decode.o
> decode.c: In function ‘write_callback’:
> decode.c:965:28: warning: cast increases required alignment of target
> type [-Wcast-align]
> decode.c:966:28: warning: cast increases required alignment of target
> type [-Wcast-align]
> decode.c:967:28: warning: cast increases required alignment of target
> type [-Wcast-align]
> decode.c:968:28: warning: cast increases required alignment of target
> type [-Wcast-align]
> CC encode.o
> encode.c:118:34: warning: cast increases required alignment of target
> type [-Wcast-align]
> encode.c:119:33: warning: cast increases required alignment of target
> type [-Wcast-align]
> CC utils.o
> utils.c: In function ‘local__parse_cue_’:
> utils.c:86:96: warning: declaration of ‘index’ shadows a global
> declaration [-Wshadow]
> utils.c: In function ‘local__find_closest_cue_’:
> utils.c:122:118: warning: declaration of ‘index’ shadows a global
> declaration [-Wshadow]
> [...]
> CC operations.o
> operations.c: In function ‘write_metadata’:
> operations.c:635:50: warning: declaration of ‘index’ shadows a global
> declaration [-Wshadow]
> CC operations_shorthand_cuesheet.o
> operations_shorthand_cuesheet.c: In function ‘import_cs_from’:
> operations_shorthand_cuesheet.c:158:19: warning: declaration of
> ‘index’ shadows a global declaration [-Wshadow]
> [...]
> CC metadata_object.o
> metadata_object.c: In function ‘vc_replace_new_’:
> metadata_object.c:263:6: warning: declaration of ‘index’ shadows a
> global declaration [-Wshadow]
> metadata_object.c: In function ‘tr_set_new_’:
> metadata_object.c:365:124: warning: declaration of ‘index’ shadows a
> global declaration [-Wshadow]
> metadata_object.c: In function ‘tr_insert_new_’:
> metadata_object.c:380:127: warning: declaration of ‘index’ shadows a
> global declaration [-Wshadow]
> metadata_object.c: In function ‘test_metadata_object’:
> metadata_object.c:507:38: warning: declaration of ‘index’ shadows a
> global declaration [-Wshadow]
> CCLD test_libFLAC
More information about the flac-dev
mailing list