search for: wcast

Displaying 20 results from an estimated 425 matches for "wcast".

Did you mean: cast
2013 May 24
1
FLAC for Android: warning: cast increases required alignment of target type
Now that I can build FLAC again with Janne's patch I would like to report about the warnings I get when building for Android: android-make | grep warn 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] decode.c: In function 'write_callback': decode.c:970:28: warning: cast increases required alignment of target type [-Wcast-align] decode.c:971:28: warning: cast increases required alignment of targ...
2009 Jul 03
3
ffmpeg and zoneminder install problems
.... here is the output of make [root at SeVi ffmpeg]# make "/root/software/ffmpeg"/version.sh "/root/software/ffmpeg" gcc -fPIC -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" -I"/root/software/ffmpeg"/libavutil -I"/root/software/ffmpeg"/libavcodec -I"/root/software/ffmpeg"/libavformat -I"/root/software/ffmpeg"/libswscale -I"/root/...
2013 Apr 05
1
flac 1.3.0pre3 pre-release
...en a local variable named 'index' and a function in <string.h>. Later versions of GCC don't complain about this even with -Wshadow. > > 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...
2009 Dec 07
2
xapain install
...ofigure optionand then I rune make, but it echos following message in infinite loop. Is there anything wrong? How to correct? --------------------------------- /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./common -I./include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Woverloaded-virtual -Wundef -Wshadow -Wstrict-null-sentinel -Wshadow -fvisibility=hidden -g -O2 -MT matcher/branchpostlist.lo -MD -MP -MF $depbase.Tpo -c -o matcher/branchpostlist.lo matcher/branchpostlist.cc &&\ m...
2014 Jun 19
0
Lets work towards a new version
...gt; Hi all, > > [...] > > Anything else I've forgotten or people would like to see? Like I reported just before the release of 1.3.0 (mail of Fri, 05 Apr 2013 08:25:10 +0200, to be specific), compiling on Raspbian (Debian Wheezy, GCC 4.6) returns quite some warnings of the type -Wcast-align. > CC lpc_intrin_sse2.lo > CC lpc_intrin_sse41.lo > 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 alig...
2010 Apr 02
0
Wine release 1.1.42
...zero. Mike Kaplinskiy (3): ws2_32: Use ntstatus in overlapped functions. ws2_32/tests: Test a WSARecv error condition. ws2_32/tests: Fix win9x test failure. Mikhail Maroukhine (42): comctl32/tests: Remove superfluous casts. comctl32: Fix compiler warnings with flag -Wcast-qual. comctl32: Fix incorrect const type casting. comctl32: Fix compiler warnings. advapi32: Fix compiler warnings with flag -Wcast-qual. appwiz.cpl: Fix compiler warnings with flag -Wcast-qual. objbase.h: CLSIDFromString: Add constness to the parameters declaration in...
2006 Dec 21
7
[PATCH] Add -Wcast-qual flag
Hi! The xen-cast.diff adds the -Wcast-qual flag. The xen-cast-xen.diff makes the hypervisor itself buildable with the new flag - at least on x86_32 and x86_64. The xen-cast-tools.diff makes the tools build with the new flag. Generally, the places with the __UNCONST() hack should be considered to be reworked. These places may hide bu...
2014 May 25
2
replace -Wextra with -W
...--- diff --git a/configure.ac b/configure.ac index 6d0fa00..cc5a247 100644 --- a/configure.ac +++ b/configure.ac @@ -392,8 +392,8 @@ fi XIPH_GCC_VERSION if test x$ac_cv_c_compiler_gnu = xyes ; then - CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Winline -Wconversion - CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-pro...
2016 Jan 24
1
Wextra in configury
...--- diff --git a/configure.ac b/configure.ac index 99c471d..2ee2be0 100644 --- a/configure.ac +++ b/configure.ac @@ -380,8 +380,8 @@ fi XIPH_GCC_VERSION if test x$ac_cv_c_compiler_gnu = xyes ; then - CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion - CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-pro...
2016 Jun 20
2
Compilation problem with a few configure option
...--disable-sse --disable-backend-inmemory --disable-backend-remote ==================================== During the compilation I get the following error: ==================================== /bin/bash ./libtool --tag=CXX --mode=link g++ -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -g -O2 -std=gnu++11 -o bin/xapian-delve bin/xapian-delve.o...
2012 Mar 28
3
Compiling Omega 1.2.9 on Windows 7 64-Bit
...ll-recursive make[1]: Entering directory `/xapian/xapian-omega-1.2.9' Making all in . make[2]: Entering directory `/xapian/xapian-omega-1.2.9' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./commo n -I/usr/local/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual - Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wstrict- null-sentinel -Wshadow -Wstrict-overflow=1 -Winit-self -Wlogical-op -Wmissing-de clarations -fvisibility=hidden -I/xapian/xapian-core-1.2.9/include -g -O2 -MT li btransform_la-transform.lo -MD -MP -MF .deps/libt...
2006 Dec 22
6
[PATCH] two missing bits (was Re: Add -Wcast-qual flag)
Hi! I catched two pieces with debug and crash_debug enabled. One of them fixes a build error even without the -Wcast-qual flag. Patch attached. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Jul 31
0
No subject
...FIG_H -I. -I./src -I.= /win32=A0=A0 -I/home/user/builds/include=A0=A0 -I/home/user/builds/include/= opus=A0=A0 -DOPUSTOOLS -D_FORTIFY_SOURCE=3D2 -DHAVE_GETOPT_H -DSPX_RESAMPLE= _EXPORT=3D -DRANDOM_PREFIX=3Dopustools -DOUTSIDE_SPEEX -DFLOATING_POINT -I/= home/user/builds/include=A0 -W -Wall -Wextra -Wcast-align -Wnested-externs = -Wshadow -Wstrict-prototypes -MT src/opus_header.o -MD -MP -MF $depbase.Tpo= -c -o src/opus_header.o src/opus_header.c &&\ =A0=A0=A0 mv -f $depbase.Tpo $depbase.Po depbase=3D`echo src/opusenc.o | sed 's|[^/]*$|.deps/&|=3Bs|\.o$||'`=3B\ =A0=A0=A0 i686-w6...
2008 Jun 26
1
Compile warning using additonal CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'
Hi, Ive just downloaded and build the portable openssh-5.0p1 source on my Linux box, and when I add the CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W' I get a lot of warnings of the following type: - -Wuninitialized is not supported without -O - cast discards qualifiers from pointer target type - warning: `foo' is not at beginning of declaration - cast discards qualifiers from pointer target type - unused parameter 'foo'...
2015 Aug 07
0
[PATCH] Silence clang -Wcast-align warnings
..._multistream_encoder.c +++ b/src/opus_multistream_encoder.c @@ -98,7 +98,8 @@ static opus_val32 *ms_get_preemph_mem(OpusMSEncoder *st) else ptr += align(mono_size); } - return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); + /* void* cast avoids clang -Wcast-align warning */ + return (opus_val32*)(void*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); } static opus_val32 *ms_get_window_mem(OpusMSEncoder *st) @@ -117,7 +118,8 @@ static opus_val32 *ms_get_window_mem(OpusMSEncoder *st) else ptr += align(mono_size); } -...
2013 May 15
0
FLAC currently won't compile for Android [bisected]
...5:2: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration] format.c:535:2: warning: nested extern declaration of 'MIN' [-Wnested-externs] 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] metadata_iterators.c: In function 'copy_n_bytes_from_file_': metadata_iterators.c:3122:3: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration] metadata_iterator...
2013 Apr 05
0
flac 1.3.0pre3 pre-release
...laygain_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: warn...
2013 Dec 11
2
libc_nonshared.a missing on 10.0-RC1
Hi all! Yesterday I upgraded to FreeBSD 10.0-RC1 through freebsd-update. Everything seemed fine until I decided to upgrade my ports today. There was a new version of pkg which built fine up until the linking: ===> Building for pkg-1.2.3 --- all --- ===> libpkg (all) --- objwarn --- --- libpkg.so.1 --- --- objwarn --- Warning: Object directory not changed from original
2013 May 15
2
FLAC currently won't compile for Android [bisected]
2013/5/15 Ulrich Klauer <ulrich at chirlu.de> > Felix Homann wrote: > > > Yes, HAVE_SYS_PARAM_H is set in config.h: > > OK ... Yet still I don't see how a change in > src/libFLAC/include/private/macros.h could affect src/flac/utils.c in > any way. > > Anyone got an idea? I haven't spend too much attention to the errors when bisecting, sorry! The
2014 Jun 19
10
Lets work towards a new version
Hi all, It sees that the most serious bug in the flac bug tracker: https://sourceforge.net/p/flac/bugs/413/ has been fixed in git. This fix alone is worth a new release so its time to work towards one. Things I need to do for this new release: * Deal with all current patches on the mailing list. * Review all bugs reported against 1.3.0 on the sf.net. * Testing and coordination of testing