Displaying 20 results from an estimated 30000 matches similar to: "-Wswitch-bool?"
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
2007 Oct 11
1
[PATCH] Fix compiler warnings that prevent compilation
Counteract incorrect use of the "deprecated" attribute in ffmpeg
headers. In particular, struct AVPaletteControl is deprecated, but it's
used in a non-deprecated struct AVCodecContext (as found in Fedora's
ffmpeg-devel-0.4.9-0.8.20070530.fc7.x86_64). Define
attribute_deprecated to an empty string until broken version of ffmpeg
are too obsolete to support.
Use appropriate
2013 Nov 20
1
[releng_10 tinderbox] failure on sparc64/sparc64
TB --- 2013-11-19 23:00:41 - tinderbox 2.20 running on worker01.tb.des.no
TB --- 2013-11-19 23: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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
TB --- 2013-11-19 23:00:41 - starting RELENG_10 tinderbox run for sparc64/sparc64
TB --- 2013-11-19 23:00:41 - cleaning the
2020 Jun 04
4
clang 10 -Wimplicit-fallthrough
Hi.
I upgraded my main build host and the clang -Werror builds started
failing.
This is because clang 10's -Wimplicit-fallthrough doesn't understand
/* FALLTHROUGH */ but rather requires __attribute__((fallthrough)):
clang -Wall -O2 [...] -Wimplicit-fallthrough [...] -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -c /openbsd-compat/base64.c
2016 Aug 19
1
can't build from source: error: template with C linkage
This looks like the result of including a C++ system header inside an
extern "C" block. There is no evidence of this happening in the current
version 2.22.1. However, it did happen in the previous version 2.22 via
the chain of inclusions:
MCMCglmmcc.h -> cs.h -> R.h -> various C++ system headers
See Writing R Extensions P 108.
I would check that the people reporting this bug
2012 May 11
15
Errors of doing "make install-tools" with xen-4.2-unstable?
Hi,
When I do the "make install-tools" with xen-4.2-unstable, there are some
errors about "warn_unused_result".
Is it the error in code or the error in the compiling environment? Thank
you so much.
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__
-MMD -MF .tapdisk-queue.o.d
2019 Jul 18
2
make install libvirt v5.5.0 failed
Hi all:
Unable to install libvirt v5.5.0 correctly through the source code which clone from git. The error message is shown below.
libtool: install: (cd /home/libvirt/src; /bin/sh /home/libvirt/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -I/usr/include/libxml2 -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined
2018 Dec 17
4
In ISel, where Constant<0> comes from?
Hello, LLVM devs.
I'm compiling the following simple IR:
define dso_local i32 @main(i32 %argc, i8** %argv) {
entry:
%retval = alloca i32, align 4
%argc.addr = alloca i32, align 4
%argv.addr = alloca i8**, align 8
store i32 0, i32* %retval, align 4
store i32 %argc, i32* %argc.addr, align 4
store i8** %argv, i8*** %argv.addr, align 8
ret i32 0
}
using `llc -march=sparc
2016 Jan 07
2
TableGen error message: top-level forms in instruction pattern should have void types
On Thu, Jan 7, 2016 at 1:35 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org
> wrote:
> On 1/7/2016 3:25 PM, Phil Tomson wrote:
>
>>
>> That's better, but now I get:
>>
>> XSTGInstrInfo.td:902:3: error: In RelAddr: XSTGRELADDR node requires
>> exactly 2 operands!
>>
>> Which makes some sense as XSTGRELADDR is defined as:
>> def
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
2015 Nov 25
3
x86 long double size definition
In what file would I find the definition for the size of the x86_64 long
double type?
Thanks,
Max
--
Max Ruttenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151125/573ebb0d/attachment.html>
2010 Jun 18
2
[PATCH] hdt & gcc -Werror
From: Gene Cumm <gene.cumm at gmail.com>
Fix several calls to more_printf() as eventually printf() is called
without a literal string which generate warnings with gcc and lead to
errors when -Werror is active.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
The message "format not a string literal and no format arguments" at
first seems strange but by doing this change
2014 Dec 14
7
[PATCH 0/6] virtio 1.0: tools update
virtio test support for virtio 1.0.
Probably a good idea to include for 3.19.
Michael S. Tsirkin (6):
tools/virtio: more stubs
tools/virtio: fix vringh test
tools/virtio: 64 bit features
tools/virtio: enable -Werror
tools/virtio: add virtio 1.0 in virtio_test
tools/virtio: add virtio 1.0 in vringh_test
tools/virtio/linux/virtio.h | 1 +
2014 Dec 14
7
[PATCH 0/6] virtio 1.0: tools update
virtio test support for virtio 1.0.
Probably a good idea to include for 3.19.
Michael S. Tsirkin (6):
tools/virtio: more stubs
tools/virtio: fix vringh test
tools/virtio: 64 bit features
tools/virtio: enable -Werror
tools/virtio: add virtio 1.0 in virtio_test
tools/virtio: add virtio 1.0 in vringh_test
tools/virtio/linux/virtio.h | 1 +
2014 Dec 01
2
Re: [PATCH] fish: show synopsis if command syntax is wrong
On Fri, Nov 28, 2014 at 03:00:39PM +0100, Pino Toscano wrote:
> On Friday 28 November 2014 17:55:51 Hu Tao wrote:
> > This patch lets guestfish show command synopsis if the syntax of command issued
> > by user is wrong, rather than telling user that the number of parameters is wrong.
>
> The idea seems sound to me.
>
> Shouldn't that be done also for fish commands?
2009 Mar 05
0
[LLVMdev] Fwd: PPC Nightly Build Result
Hi Bill,
this might be a latent bug related to PPC. I have no such
machine to access atm., but I shall be able to reproduce the
problem when back at home. (In about 4 hours).
I keep you informed.
Cheers,
Gabor
On Mar 4, 7:57 pm, Bill Wendling <wendl... at apple.com> wrote:
> Something last night broke the build on Darwin PPC. Possible Gabor's
> check-in?
>
> -bw
2020 Apr 23
7
Cannot build master
Hi,
Using master at b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8, I cannot build
LLVM. I configured with:
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DBUILD_SHARED_LIBS=OFF \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_RTTI=ON \
2020 Apr 23
3
Cannot build master
I am nuilding that now.
CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnu \
-DLLVM_TARGETS_TO_BUILD="AMDGPU;MSP430;WebAssembly;X86" \
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued
by user is wrong, rather than telling user that the number of parameters is wrong.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
changes in v2:
- fix the error of ' error: control reaches end of non-void function [-Werror=return-type]'
- change the return value from -2 to -1
fish/cmds-gperf.h |
2014 Nov 28
2
[PATCH] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued
by user is wrong, rather than telling user that the number of parameters is wrong.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
fish/cmds-gperf.h | 1 +
generator/fish.ml | 33 ++++++++++++---------------------
2 files changed, 13 insertions(+), 21 deletions(-)
diff --git a/fish/cmds-gperf.h