Displaying 20 results from an estimated 128 matches for "wswitch".
Did you mean:
switch
2016 Mar 29
0
-Wswitch-bool?
On 3/29/2016 11:44 AM, Max Ruttenberg via llvm-dev wrote:
>
> I've looked online and saw some post mentioning that this warning is named
> "switch-bool" but clang doesn't seem to know that.
You're probably using an old clang. There is an option
"-Wno-switch-bool" that turns this warning off, but if your clang does
not understand it, there may be no other
2016 Mar 29
2
-Wswitch-bool?
All,
If I have source file like this:
/**********************************/
#include <stdbool.h>
#include <stdio.h>
int main(int argc, char* argv[])
{
switch(argc == 2)
{
case true:
puts("argc == 2");
break;
case false:
puts("argc != 2");
break;
}
return 0;
}
/**********************************/
When I compile this source file with
2007 Nov 08
0
No subject
...l -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-align -Wwrite-strings -Winline
-Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default
-Werror -std=gnu99 -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/liboil-0.3 -I./.. -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT libjpeg_la-jpeg.lo
-MD -MP -MF .de...
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
2020 Sep 25
0
Re: Help on Meson build Error
...ray-argument -Wsizeof-pointer-div
-Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes
-Wstringop-truncation -Wsuggest-attribute=cold -Wsuggest-attribute=const
-Wsuggest-attribute=format -Wsuggest-attribute=noreturn
-Wsuggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types
-Wswitch -Wswitch-bool -Wswitch-unreachable -Wsync-nand
-Wtautological-compare -Wtrampolines -Wtrigraphs -Wtype-limits
-Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter
-Wunused-but-set-variable -Wunused-function -Wunused-label
-Wunused-local-typedefs -Wunused-parameter -Wunused-result -...
2019 Jul 18
2
make install libvirt v5.5.0 failed
...inter-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macro...
2014 Sep 05
2
[LLVMdev] HELP! Recent failure on llvm buildbot
..."
The build log show this error:
/Users/buildslave/as-bldslv9/lld-x86_64-darwin13/llvm.src/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp:92:11: error: enumeration values 'KalimbaSubArch_v3', 'KalimbaSubArch_v4', and 'KalimbaSubArch_v5' not handled in switch [-Werror,-Wswitch]
switch (triple.getSubArch()) {
"
from here
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/2571
Sorry to seem lame, but I could have fixed it myself if I'd known how to
navigate to that line describing the failed invocation.
thanks
Matt
Frédéric Riss wrote:
> Hi,...
2020 Sep 25
2
Re: Help on Meson build Error
On Thu, Sep 24, 2020 at 2:58 PM Ján Tomko <jtomko@redhat.com> wrote:
> On a Thursday in 2020, Wei Wang wrote:
> >Seems it didn't appear on the mailing list, resent it.
> >
> > Hi folks,
> >
> >I'm trying to build libvirt using meson with the latest upstream libvirt,
> >but the compilation fails:
> >(followed on
2013 Nov 20
1
[releng_10 tinderbox] failure on sparc64/sparc64
...PU_CFLAGS -DNO_CTF -DEARLY_BUILD all
cc -O2 -pipe -I. -I/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm/aicasm.c
cc -O2 -pipe -I. -I/src/sys/modules/aic7xxx/aicasm/../../../dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstr...
2012 Jul 24
1
9-STABLE (238719) compilation fails on i386
Hi all.
When building procstat I get this:
clang -O2 -pipe -march=athlon-xp -std=gnu99 -Qunused-arguments
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wold-style-definition
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c
/usr/src/usr.bin/procstat/procstat_vm.c
/usr/src/usr.bin/procstat/procstat_vm.c:76:36: error: use of undeclared...
2004 Aug 20
1
gcc optimization flag when building R
...S. This is the bottom portion of the ./configure run
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -DNO_PURE
-Wchar-subscripts -Wformat -Wimplicit -Wreturn-type -Wswitch -Wreorder
-Wwrite-strings -Woverloaded-virtual -Wshadow -Wno-ctor-dtor-privacy
-m486 -fPIC -DOSRELMAJOR=2 -DOSRELMINOR=4
C++ compiler: g++ -mieee-fp -g -O2
Fortran compiler: g77 -mieee-fp -g -O2
Interfaces supported: X11, tcltk
External libraries: readlin...
2013 Sep 25
0
strsvis breakage when upgrading to from 9.1 to 9-STABLE
.../mtree
-I/usr/src/usr.bin/xinstall/../../lib/libnetbsd
-I/usr/src/usr.bin/xinstall/../../lib/libmd -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c
/usr/src/usr.bin/xinstall/xinstall.c
cc -O2 -pipe -I/usr/src/usr.bin/xinstall/../../contrib/mtree
-I/usr/src/usr.bin/xinstall/../../lib/libnetbsd
-I/us...
2010 Mar 31
1
[Bug 27392] New: swfdec won't compile
...l -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-align -Wwrite-strings
-Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default
-Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return
-Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations
-Wpacked -Winvalid-pch -Wsync-nand -Werror -std=gnu99 -I.. -pthread
-I/usr/include/glib-2.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I...
2018 Aug 08
3
Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
2007 Nov 08
0
configure.ac libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_types.c libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h
...| 1 +
vivified/ui/vivi_widget.c | 3 ++-
34 files changed, 141 insertions(+), 95 deletions(-)
New commits:
commit 00ff0677e32eda7c9cd22d807c2ab71b7d92ebb6
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Thu Nov 8 12:09:18 2007 +0200
Add warnings flags: -Wswitch-enum -Wswitch-default
Remove SwfdecAudioCodec and SwfdecVideoCodec enums and use guint with defines
instead
diff --git a/configure.ac b/configure.ac
index fc48f5c..882a129 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ dnl if we support them, we set them unconditionall...
2007 Dec 22
1
[Bug 13788] New: Build failure in jhbuild due to "control reaches end of non-void function"
...l -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-align -Wwrite-strings
-Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default
-Werror -std=gnu99 -I/opt/gnome2/include/cairo -I/opt/gnome2/include
-I/opt/gnome2/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include...
2019 Jul 23
0
Re: make install libvirt v5.5.0 failed
...inter-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macro...
2014 Sep 05
4
[LLVMdev] HELP! Recent failure on llvm buildbot
I'm working on lldb.
I've just submitted a very small change (r217229) to Triple.h/.cpp. Soon
after I get a mail
subject: buildbot failure in LLVM on lld-x86_64-darwin13
Details:
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/2571
Blamelist: mg11
My small change certainly did not cause lldb's build to fail on my
machine. I looked into the build-log:
2018 Aug 08
0
Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
...inter-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macro...
2013 Nov 13
2
[releng_10 tinderbox] failure on i386/i386
TB --- 2013-11-13 13:00:41 - tinderbox 2.20 running on worker01.tb.des.no
TB --- 2013-11-13 13:00:41 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
TB --- 2013-11-13 13:00:41 - starting RELENG_10 tinderbox run for i386/i386
TB --- 2013-11-13 13:00:41 - cleaning the