Displaying 20 results from an estimated 184 matches for "wshadow".
Did you mean:
shadow
2013 Apr 05
0
flac 1.3.0pre3 pre-release
...ith 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:21...
2009 Dec 07
2
xapain install
...ong? 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 &&\ mv -f $depbase.Tpo $depbase.Plo g++ -DHAVE_CONFIG_H -I. -I./common -I./include -Wall -W -Wredundant-decls -W...
2007 Oct 11
1
[PATCH] Fix compiler warnings that prevent compilation
...index 3aa5e4c..9749087 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ dnl if we support them, we set them unconditionally
AS_COMPILER_FLAG(-Wall, GLOBAL_CFLAGS="-Wall", GLOBAL_CFLAGS="")
dnl I want this but stupid headers don't let me
dnl AS_COMPILER_FLAG(-Wshadow, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wshadow")
-AS_COMPILER_FLAG(-Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-a...
2019 Sep 01
11
[nbdkit PATCH 00/10] Avoid -Wshadow
While working on can_FOO caching, at one point I got confused by
whether 'readonly' meant the global set by -r or a local passed to
.open(). A quick attempt to compile with -Wshadow found several other
confusing points; this series gets us to the point that we can add
-Wshadow to builds with --enable-gcc-warnings.
Eric Blake (10):
server: Avoid -Wshadow warnings
guestfs: Avoid -Wshadow warnings
ocaml: Avoid -Wshadow warnings
perl: Ignore -Wshadow warnings
ssh: Avoid...
2012 Jul 31
0
No subject
...=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-w64-mingw32-gcc -std=3Dgnu99 -DHAVE_...
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...
2019 Sep 01
0
[nbdkit PATCH 10/10] maint: Enable -Wshadow during compilation
...onfigure.ac
index 4c92e2b1..5842c6f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ AC_ARG_ENABLE([gcc-warnings],
[gcc_warnings=no]
)
if test "x$gcc_warnings" = "xyes"; then
- WARNINGS_CFLAGS="-Wall -Werror"
+ WARNINGS_CFLAGS="-Wall -Wshadow -Werror"
AC_SUBST([WARNINGS_CFLAGS])
fi
--
2.21.0
2019 Sep 15
0
[PATCH nbdkit 2/4] guestfs, libvirt: Rename ‘connect’ global to avoid -Wshadow warning.
We are going to change <nbdkit-common.h> so it includes
<sys/socket.h>. However because this exports connect(2) we need to
rename globals called ‘connect’ to avoid a conflict.
---
plugins/guestfs/guestfs-plugin.c | 8 ++++----
plugins/libvirt/libvirt-plugin.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/plugins/guestfs/guestfs-plugin.c
2013 Apr 01
17
flac 1.3.0pre3 pre-release
Hi all,
The latest pre-release is here:
http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre3.tar.xz
but there will probably need to be at least one more.
I've tested this on
x86_64-linux
powerpc-linux
i386-openbsd5.2
i386-freebsd9
The majority of changes since the last pre-release is the addition of
Janne Hyv?rinen's utf8 I/O functionality. Janne's
2014 May 25
2
replace -Wextra with -W
...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-promo -Wundef -Wunreachable-code &q...
2016 Jan 24
1
Wextra in configury
...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-promo -Wundef -Wunreachable-code &q...
2014 Jul 26
2
1.21 vs 1.3 encoding speed
...Makefiles before ang after this change.
>
> The difference is: "-g -O2" options were added to CFLAGS.
>
> before:
> CFLAGS = -O3 -funroll-loops -Wall -W -Winline -Wall -Wextra -Wstrict-prototypes
> -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow
> -Wundef -Wmissing-declarations -Wunreachable-code -Wdeclaration-after-statement
> -D_FORTIFY_SOURCE=2 -msse2 -Wextra
>
> after:
> CFLAGS = -O3 -funroll-loops -Wall -W -Winline -g -O2 -Wall -Wextra
> -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align
>...
2016 Jun 20
2
Compilation problem with a few configure option
...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 libgetopt.la libxapian-1.3.la
libtool: link: g++ -fshow-column -Wall -W -Wredundant-decls
-Wpointer-arith -Wcast-qual -Wcast-align...
2019 Sep 05
2
[PATCH nbdkit] Ban use of stack Variable Length Arrays (VLAs).
...+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5842c6f..d326377 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ AC_ARG_ENABLE([gcc-warnings],
[gcc_warnings=no]
)
if test "x$gcc_warnings" = "xyes"; then
- WARNINGS_CFLAGS="-Wall -Wshadow -Werror"
+ WARNINGS_CFLAGS="-Wall -Wshadow -Wvla -Werror"
AC_SUBST([WARNINGS_CFLAGS])
fi
diff --git a/plugins/sh/sh.c b/plugins/sh/sh.c
index c73b08b..acb50c4 100644
--- a/plugins/sh/sh.c
+++ b/plugins/sh/sh.c
@@ -74,8 +74,7 @@ sh_load (void)
static void
sh_unload (void)...
2012 Mar 28
3
Compiling Omega 1.2.9 on Windows 7 64-Bit
...irectory `/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/libtransform_la-transform.Tpo -c -o
libtransform_la-transform.lo `test -f 'transform.cc' || echo './...
2009 Nov 08
2
Problem compiling celt 0.7.0
...`/tmp/celt-0.7.0'
Making all in libcelt
make[2]: Entering directory `/tmp/celt-0.7.0/libcelt'
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -s -O3 -march=i686 -fvisibility=hidden -W
-Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow
-Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -MT celt.lo -MD
-MP -MF .deps/celt.Tpo -c -o celt.lo celt.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -s -O3
-march=i686 -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra
-Wcast-align -Wnested-externs -Wshadow -Wno...
2014 Jul 26
4
1.21 vs 1.3 encoding speed
Martijn van Beurden wrote:
> op 25-07-14 19:32, Scott Brown schreef:
> > ./configure -enable-static -disable-shared CFLAGS=" -isysroot
> > /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6"
> > make
>
> Well, the use of CFLAGS 'disables' the -O3 and unroll-loops
> optimisation. I'm quite sure that's the culprit. Add -O3 to your
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
...elow when using
llvm-gcc compared to a successful gcc build. The multiply defined symbols
reported all seem to come from <stdlib.h>
Any clues?
Thanks,
Paul
========
With GCC
========
16:24|paul at tabu:~/> make
gcc -c -g -O2 -std=c99 -Wall -Wextra -Werror-implicit-function-declaration
-Wshadow -Wstrict-prototypes -pedantic-errors main.c
main.c: In function 'KeyPressed':
main.c:291: warning: unused parameter 'x'
main.c:291: warning: unused parameter 'y'
gcc -c -g -O2 -std=c99 -Wall -Wextra -Werror-implicit-function-declaration
-Wshadow -Wstrict-prototypes -pedantic...
2012 Jun 13
2
[LLVMdev] llvm-mc problem after a pass
Hi,
I'm having some problem with llvm-mc on a program after applying a pass:
../../../build/Release+Asserts/bin/clang -emit-llvm -c -I./testprof/ -I./src/headers/ -I../libtommath-0.42.0/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE -O0 -DLTC_NO_ASM -DUSE_LTM -DLTM_DESC -o src/pk/asn1/der/sequence/der_encode_sequence_ex.bc src/pk/asn1/der/sequence/der_encode_sequence_ex.c
../../../build/Release+Asserts/bin/opt -reg2mem -load ../../../build/Release+Asserts/lib/LLVMobfuscation.so -flattening sr...
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